Skip to content

Commit cb1ef41

Browse files
committed
chore: use pyargs in ci
1 parent 95b6f54 commit cb1ef41

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

ci/coverage_report.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ rapids-logger "Show Numba system info"
2929
python -m numba --sysinfo
3030

3131
rapids-logger "Run Tests with Coverage"
32-
python -m pytest -v --cov ..
32+
pytest -v --cov --pyargs numba.cuda.tests
3333

3434
rapids-logger "Generate Markdown Coverage Report"
3535
python -m coverage report --format markdown >> $GITHUB_STEP_SUMMARY

ci/test_conda.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ rapids-logger "Test importing numba.cuda"
7979
python -c "from numba import cuda"
8080

8181
rapids-logger "Run Tests"
82-
pytest -v ..
82+
pytest -v --pyargs numba.cuda.tests
8383

8484
popd
8585

ci/test_simulator.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ set +e
5050

5151
rapids-logger "Run Tests"
5252
export NUMBA_ENABLE_CUDASIM=1
53-
pytest -v ..
53+
pytest -v --pyargs numba.cuda.tests
5454

5555
popd
5656

ci/test_wheel.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ rapids-logger "Show Numba system info"
5050
python -m numba --sysinfo
5151

5252
rapids-logger "Run Tests"
53-
python -m pytest -v ..
53+
pytest -v --pyargs numba.cuda.tests
5454

5555
popd

ci/test_wheel.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ rapids-logger "Show Numba system info"
4040
python -m numba --sysinfo
4141

4242
rapids-logger "Run Tests"
43-
python -m pytest -v ..
43+
pytest -v --pyargs numba.cuda.tests
4444

4545
popd

ci/test_wheel_deps_wheels.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ apt remove --purge `dpkg --get-selections | grep cuda-nvvm | awk '{print $1}'` -
3131
apt remove --purge `dpkg --get-selections | grep cuda-nvrtc | awk '{print $1}'` -y
3232

3333
rapids-logger "Run Tests"
34-
NUMBA_CUDA_TEST_BIN_DIR=$NUMBA_CUDA_TEST_BIN_DIR python -m pytest -v ..
34+
NUMBA_CUDA_TEST_BIN_DIR=$NUMBA_CUDA_TEST_BIN_DIR pytest -v --pyargs numba.cuda.tests
3535

3636
popd

0 commit comments

Comments
 (0)