Skip to content

Commit

Permalink
Merge pull request #122 from casework/add_doctests_make_target
Browse files Browse the repository at this point in the history
Move doctests checking to own target in preorder traversal
  • Loading branch information
kchason authored Aug 22, 2023
2 parents 39f8f11 + e9dff7b commit 82461b3
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ all: \
.PHONY: \
all-case_utils \
check-case_utils \
check-doctest \
check-isomorphic_diff \
check-mypy \
download
Expand Down Expand Up @@ -57,13 +58,9 @@ all-case_utils: \
# These check calls are provided in preferred run-order.
check: \
check-mypy \
check-doctest \
check-isomorphic_diff \
check-case_utils
source venv/bin/activate \
&& pytest \
--doctest-modules \
--log-level=DEBUG \
$(top_srcdir)/case_utils
source venv/bin/activate \
&& pytest \
--ignore case_utils \
Expand All @@ -76,6 +73,14 @@ check-case_utils: \
--directory case_utils \
check

check-doctest: \
.venv.done.log
source venv/bin/activate \
&& pytest \
--doctest-modules \
--log-level=DEBUG \
$(top_srcdir)/case_utils

check-isomorphic_diff: \
.venv.done.log
$(MAKE) \
Expand Down

0 comments on commit 82461b3

Please sign in to comment.