-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (24 loc) · 696 Bytes
/
Copy pathci.yml
File metadata and controls
31 lines (24 loc) · 696 Bytes
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
name: Tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install
run: |
pip install --upgrade pip
pip install -r requirements.txt
pip install pytest pytest-cov black flake8
- name: Lint
run: flake8 src/identifiability_diagnostic tests --exit-zero
- name: Format Check
run: black --check src/identifiability_diagnostic tests
- name: Test
run: pytest tests/ -v