Skip to content

Commit

Permalink
fix dependencies in coverage workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
irenaby committed Jan 26, 2025
1 parent 3b9ff82 commit 6adeb9b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/run_tests_suite_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Set up Coverage
run: |
python -m pip install --upgrade pip
pip install coverage
pip install -r requirements.txt coverage pytest pytest-mock
- name: Run common tests (unittest)
run: coverage run --parallel-mode -m --omit "*__init__.py" --include "model_compression_toolkit/**/*.py" unittest discover tests/common_tests -v
Expand All @@ -46,8 +46,7 @@ jobs:
python -m venv tf_env
source tf_env/bin/activate
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install tensorflow==2.15.* coverage pytest
pip install -r requirements.txt tensorflow==2.15.* coverage pytest pytest-mock
- name: Run TensorFlow testsuite
run: |
Expand All @@ -65,7 +64,7 @@ jobs:
source torch_env/bin/activate
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install torch==2.5.* torchvision onnx onnxruntime onnxruntime-extensions coverage pytest
pip install torch==2.5.* torchvision onnx onnxruntime onnxruntime-extensions coverage pytest pytest-mock
- name: Run torch testsuite
run: |
Expand Down

0 comments on commit 6adeb9b

Please sign in to comment.