Skip to content

Commit 0fb95ec

Browse files
committed
Execute pytest with --pyargs
1 parent 40f04d2 commit 0fb95ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ env:
99
CIBW_BEFORE_BUILD: pip install setuptools oldest-supported-numpy pytest
1010
CIBW_BEFORE_TEST: pip install pytest
1111
CIBW_BUILD_VERBOSITY: 1
12-
CIBW_TEST_COMMAND: pytest numexpr/tests
12+
CIBW_TEST_COMMAND: pytest --pyargs numexpr
1313
CIBW_TEST_SKIP: "*macosx*arm64*"
1414
# Building for musllinux and aarch64 takes way too much time.
1515
# Moreover, NumPy is not providing musllinux for x86_64 either, so it's not worth it.
@@ -62,7 +62,7 @@ jobs:
6262
run: |
6363
echo "CIBW_BEFORE_BUILD=pip install setuptools numpy" >> "$GITHUB_ENV"
6464
echo "CIBW_BEFORE_TEST=pip install pytest pytest-run-parallel" >> "$GITHUB_ENV"
65-
echo "CIBW_TEST_COMMAND=pytest --parallel-threads=4 numexpr/tests" >> "$GITHUB_ENV"
65+
echo "CIBW_TEST_COMMAND=pytest --parallel-threads=4 --pyargs numexpr" >> "$GITHUB_ENV"
6666
6767
- name: Build wheels
6868
run: |

0 commit comments

Comments
 (0)