Skip to content

Commit

Permalink
Invoke pytest once instead of twice (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
christianbundy authored Oct 9, 2023
1 parent 0272af3 commit 6441371
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cibuildwheel.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@ test-command = """ \
&& cp '{project}/mypy/pyproject.toml' '{project}/mypy/conftest.py' $DIR \
\
&& MYPY_TEST_DIR=$(python -c 'import mypy.test; print(mypy.test.__path__[0])') \
&& MYPY_TEST_PREFIX='{project}/mypy' pytest $MYPY_TEST_DIR \
\
&& MYPYC_TEST_DIR=$(python -c 'import mypyc.test; print(mypyc.test.__path__[0])') \
&& MYPY_TEST_PREFIX='{project}/mypy' pytest $MYPYC_TEST_DIR -k 'not test_external' \
\
&& MYPY_TEST_PREFIX='{project}/mypy' pytest $MYPY_TEST_DIR $MYPYC_TEST_DIR -k 'not test_external' \
)
"""

Expand Down

0 comments on commit 6441371

Please sign in to comment.