summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorRaghuveer Devulapalli <raghuveer.devulapalli@intel.com>2023-04-03 10:10:52 -0700
committerRaghuveer Devulapalli <raghuveer.devulapalli@intel.com>2023-04-03 10:10:52 -0700
commita260a90b3e908542bc5af76f0700405883b7c454 (patch)
tree68d80d8184b3c06771c0f93d1bd4af7b6a4b9d5f /.github/workflows
parent0d2814322073067536218a2f269d818ed834fa68 (diff)
downloadnumpy-a260a90b3e908542bc5af76f0700405883b7c454.tar.gz
CI: Use pytest directly to run subset of tests
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build_test.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml
index dbe03b846..000f6038b 100644
--- a/.github/workflows/build_test.yml
+++ b/.github/workflows/build_test.yml
@@ -433,8 +433,9 @@ jobs:
run: |
export CC=/usr/bin/gcc-12
export CXX=/usr/bin/g++-12
- python setup.py install
+ python -m pip install -e .
# Run only a few tests, running everything in an SDE takes a long time
+ # Using pytest directly, unable to use python runtests.py -n -t ...
- name: Run linalg/ufunc/umath tests
run: |
- sde -spr -- python runtests.py -n -t numpy/core/tests/test_umath* numpy/core/tests/test_ufunc.py numpy/linalg/tests/test_*
+ sde -spr -- pytest numpy/core/tests/test_umath* numpy/core/tests/test_ufunc.py numpy/linalg/tests/test_*