-
Notifications
You must be signed in to change notification settings - Fork 69
32 lines (30 loc) · 844 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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