Skip to content

Commit f5292c5

Browse files
authored
Merge pull request #888 from amath-idm/pin-lineprofiler
Pin line_profiler
2 parents 5605877 + 9dad743 commit f5292c5

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.github/workflows/tests.yaml

+5-7
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,12 @@ jobs:
1919
python-version: ${{ matrix.python-version }}
2020
architecture: x64
2121
- name: Install Covasim
22-
run: |
23-
pip install line_profiler==3.1
24-
python setup.py develop
22+
run: python setup.py develop
23+
- name: Install tests
24+
run: pip install pytest
2525
- name: Run integration tests
2626
working-directory: ./tests
27-
run: |
28-
pip install pytest
29-
pytest test*.py --durations=0 # Run actual tests
27+
run: pytest test_*.py --durations=0
3028
- name: Run unit tests
3129
working-directory: ./tests/unittests
32-
run: pytest test*.py --durations=0 # Run actual tests
30+
run: pytest test_*.py --durations=0

requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ statsmodels
55
matplotlib
66
pandas
77
xlrd==1.2.0
8+
line_profiler==3.1
89
sciris>=1.0.0

0 commit comments

Comments
 (0)