Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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