Skip to content

Commit 8a9647f

Browse files
committed
Fix: Disable coverage collection for doctests and extra tests
1 parent ce23675 commit 8a9647f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424
- name: Setup environment
2525
run: pip install -e .[test]
2626
- name: Run doctests
27-
run: pytest --doctest-modules --ignore=causalpy/tests/ causalpy/ --config-file=causalpy/tests/conftest.py
27+
run: pytest --doctest-modules --ignore=causalpy/tests/ causalpy/ --config-file=causalpy/tests/conftest.py --no-cov
2828
- name: Run extra tests
29-
run: pytest docs/source/.codespell/test_notebook_to_markdown.py
29+
run: pytest docs/source/.codespell/test_notebook_to_markdown.py --no-cov
3030
- name: Run tests
3131
run: pytest --cov-report=xml --no-cov-on-fail
3232
- name: Check codespell for notebooks

0 commit comments

Comments
 (0)