Skip to content

Commit

Permalink
add pytest-mock to CI dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
irenaby committed Jan 26, 2025
1 parent 6dc2e21 commit 1a3e384
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/run_keras_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install tensorflow==${{ inputs.tf-version }} sony-custom-layers pytest
pip install tensorflow==${{ inputs.tf-version }} sony-custom-layers
pip install pytest pytest-mock
pip check
- name: Run unittests
run: |
python -m unittest discover tests/keras_tests -v
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/run_pytorch_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install torch==${{ inputs.torch-version }} torchvision onnx onnxruntime onnxruntime-extensions
pip install pytest
pip install pytest pytest-mock
pip check
- name: Run unittests
run: |
python -m unittest discover tests/pytorch_tests -v
Expand Down

0 comments on commit 1a3e384

Please sign in to comment.