Build #70
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
schedule: | |
# runs a new build every Saturday | |
- cron: 0 0 * * SAT | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
# FIXME: refactor tests to handle `windows-latest` edge cases | |
os: [ubuntu-latest] | |
python-version: ['3.8', '3.9'] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: 'pip' | |
cache-dependency-path: '**/requirements/test-legacy.txt' | |
- name: Install dependencies | |
run: pip install -r requirements/test-legacy.txt | |
- name: Style check | |
run: | | |
python -m flake8 app/**/**/** tests/**/**/** | |
- name: Tests | |
run: | | |
python -m pytest -vv --cov=app |