Skip to content

Commit

Permalink
Add Python test requirements file (#1684)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreyvelich authored Sep 28, 2021
1 parent ad6e75a commit 6f0b2b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/test-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ jobs:

- name: Install Packages
run: |
pip install grpcio-testing==1.40.0
pip install pytest==5.1.2
pip install -r test/unit/v1beta1/requirements.txt
pip install -r cmd/suggestion/chocolate/v1beta1/requirements.txt
pip install -r cmd/suggestion/hyperopt/v1beta1/requirements.txt
Expand All @@ -36,6 +35,5 @@ jobs:
- name: Run Python test
run: |
export PYTHONPATH=$(pwd):$(pwd)/pkg/apis/manager/v1beta1/python:$(pwd)/pkg/apis/manager/health/python
echo $PYTHONPATH
pytest ./test/unit/v1beta1/suggestion
pytest ./test/unit/v1beta1/earlystopping
2 changes: 2 additions & 0 deletions test/unit/v1beta1/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
grpcio-testing==1.40.0
pytest==5.1.2

0 comments on commit 6f0b2b1

Please sign in to comment.