added tests to ci

This commit is contained in:
Eric Froemling 2019-12-13 17:38:24 -08:00
parent f614054a94
commit 4f92b53c7c

View File

@ -4,20 +4,18 @@ on:
# Run on pushes and also once per day (in case deps change under us) # Run on pushes and also once per day (in case deps change under us)
push: push:
schedule: schedule:
# Note: * is a special character in YAML so we have to quote the str. # Note: '*' is a special character in YAML so we have to quote the str.
- cron: '0 4 * * *' - cron: '0 4 * * *'
jobs: jobs:
check: check:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Set up tools - name: Set up tools
run: | run: |
sudo apt-get -y install python3.7 python3.7-dev python3-pip python3-setuptools sudo apt-get -y install python3.7 python3.7-dev python3-pip python3-setuptools
python3.7 -m pip install `tools/snippets pip_req_list` python3.7 -m pip install `tools/snippets pip_req_list`
- name: Run checks - name: Run checks and tests
run: make checkfull run: make -j2 checkfull test