-
Notifications
You must be signed in to change notification settings - Fork 2
33 lines (26 loc) · 732 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
33
name: Run checks & tests
on:
push:
branches:
- "master"
- "main"
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies
run: .github/workflows/install_deps.sh
- name: Run checks
run: SKIP=pip-compile pre-commit run --all-files
- name: Run tests
run: make test