Skip to content

Build

Build #62

Workflow file for this run

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