-
Notifications
You must be signed in to change notification settings - Fork 1
28 lines (23 loc) · 771 Bytes
/
Copy pathci.yml
File metadata and controls
28 lines (23 loc) · 771 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
name: quality
on:
push:
branches: [main]
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.14"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest pyyaml
# TODO switch to pypi
python -m pip install "petab_sciml @ git+https://github.com/PEtab-dev/petab_sciml.git"
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
python -m pip install "petab @ git+https://github.com/PEtab-dev/libpetab-python.git"
- name: Lint problems
run: pytest tests/test_lint_problems.py -v