Skip to content

Commit

Permalink
ci: Limit test to one file to debug codecov issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
gtdang committed May 6, 2024
1 parent 0346dbf commit dec481a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit dec481a

Please sign in to comment.