Skip to content

Commit 1e61a4c

Browse files
committed
add test requirements
1 parent ac00c85 commit 1e61a4c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/python-test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ jobs:
2626
- name: Install dependencies
2727
run: |
2828
python -m pip install --upgrade pip
29-
python -m pip install flake8 pytest
30-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
29+
python -m pip install -r requirements-test.txt
3130
- name: Lint with flake8
3231
run: |
3332
# stop the build if there are Python syntax errors or undefined names

requirements-test.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
flake8
2+
pytest
3+
pytest-cov
4+

0 commit comments

Comments
 (0)