Skip to content

Commit

Permalink
Ignore causalpy/tests/ when running doctest to save a little time
Browse files Browse the repository at this point in the history
  • Loading branch information
jpreszler committed Dec 14, 2023
1 parent 83cb28c commit b747906
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Run doctests
run: |
pip install -e .[test]
pytest --doctest-modules causalpy/
pytest --doctest-modules --ignore=causalpy/tests/ causalpy/
- name: Run tests
run: |
pip install -e .[test]
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ check_lint:

doctest:
pip install causalpy[test]
pytest --doctest-modules causalpy/
pytest --doctest-modules --ignore=causalpy/tests/ causalpy/

test:
pip install causalpy[test]
Expand Down

0 comments on commit b747906

Please sign in to comment.