From dec481a04d407096e7fab25aa09c43096ad1e39c Mon Sep 17 00:00:00 2001 From: George Dang <53052793+gtdang@users.noreply.github.com> Date: Mon, 6 May 2024 17:07:01 -0400 Subject: [PATCH] ci: Limit test to one file to debug codecov issue. --- .github/workflows/unit_tests.yml | 2 +- .github/workflows/windows_unit_tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 48f0b4b91e..815cde3fff 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -46,7 +46,7 @@ jobs: - name: Test with pytest shell: bash -el {0} run: | - python -m pytest . --cov=hnn_core hnn_core/tests/ --cov-report=xml + python -m pytest ./hnn_core/tests/test_io.py --cov=hnn_core hnn_core/tests/test_io.py --cov-report=xml - name: Upload coverage to Codecov uses: codecov/codecov-action@v4 with: diff --git a/.github/workflows/windows_unit_tests.yml b/.github/workflows/windows_unit_tests.yml index 4425714f82..a8da15b93d 100644 --- a/.github/workflows/windows_unit_tests.yml +++ b/.github/workflows/windows_unit_tests.yml @@ -42,4 +42,4 @@ jobs: - name: Test with pytest shell: cmd run: | - python -m pytest . --cov=hnn_core hnn_core/tests/ --cov-report=xml + python -m pytest ./hnn_core/tests/test_io.py --cov=hnn_core hnn_core/tests/test_io.py --cov-report=xml