diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index db618756..d2ffe6df 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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] diff --git a/Makefile b/Makefile index 999818e3..8d0ee749 100644 --- a/Makefile +++ b/Makefile @@ -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]