Eric Froemling 1ecb572139 action test
2020-03-26 18:52:46 -07:00

32 lines
828 B
YAML

name: CI
on:
# Run on pushes and also once per day (in case deps change under us)
push:
schedule:
# Note: '*' is a special character in YAML so we have to quote the str.
- cron: '0 12 * * *'
jobs:
ci_unix:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: |
sudo apt-get -y install python3.7 python3.7-dev python3-pip python3-setuptools
tools/snippets install_pip_reqs
- name: Run checks and tests
run: echo make -j2 check test
ci_windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Display Python version
run: python tools/snippets install_pip_reqs