Skip to content

Commit 90f0975

Browse files
authored
Create a requirements file for test dependencies (#130)
Signed-off-by: gaugup <gaugup@microsoft.com>
1 parent 928c8e9 commit 90f0975

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/pythonpackage.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ jobs:
2626
- name: Install dependencies
2727
run: |
2828
python -m pip install --upgrade pip
29-
pip install flake8 pytest twine
30-
pip install ipython
31-
pip install jsonschema
29+
if [ -f requirements-test.txt ]; then pip install -r requirements-test.txt; fi
3230
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
3331
if [ -f requirements-deeplearning.txt ]; then pip install -r requirements-deeplearning.txt; fi
3432
pip install nbformat jupyter

requirements-test.txt

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

0 commit comments

Comments
 (0)