Skip to content

Commit

Permalink
fix coverage workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ofirgo committed Jan 28, 2025
1 parent 76100bc commit ce7626f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/run_tests_suite_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ jobs:
run: coverage run --parallel-mode -m --omit "*__init__.py" --include "model_compression_toolkit/**/*.py" unittest discover tests/common_tests -v

- name: Run common tests (pytest)
run: coverage run --parallel-mode -m --omit "*__init__.py" --include "model_compression_toolkit/**/*.py" pytest tests_pytest/common
run: |
coverage run --parallel-mode -m --omit "*__init__.py" --include "model_compression_toolkit/**/*.py" pytest tests_pytest/unit_tests/common tests_pytest/integration_tests/common
- name: Set up TensorFlow environment
run: |
Expand Down Expand Up @@ -76,11 +77,6 @@ jobs:
source torch_env/bin/activate
coverage run --parallel-mode -m --omit "*__init__.py" --include "model_compression_toolkit/**/*.py" pytest tests_pytest/unit_tests/pytorch tests_pytest/integration_tests/pytorch
- name: Run Common tests (pytest)
run: |
coverage run --parallel-mode -m --omit "*__init__.py" --include "model_compression_toolkit/**/*.py" pytest tests_pytest/unit_tests/common tests_pytest/integration_tests/common
- name: Combine Multiple Coverage Files
run: coverage combine

Expand Down

0 comments on commit ce7626f

Please sign in to comment.