Skip to content

Commit 973dd8a

Browse files
author
Raghuveer Devulapalli
authored
Merge pull request #79 from r-devulap/ci-fix
update CI that builds NumPy
2 parents 527248c + 3e09910 commit 973dd8a

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/build-numpy.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040

4141
- uses: actions/setup-python@v4
4242
with:
43-
python-version: '3.10'
43+
python-version: '3.11'
4444

4545
- name: Install NumPy dependencies
4646
working-directory: ${{ github.workspace }}/numpy
@@ -56,12 +56,17 @@ jobs:
5656
git fetch temp
5757
git checkout temp/pr-branch
5858
59-
- name: Build & run NumPy sort tests
59+
- name: Build and run NumPy tests
6060
working-directory: ${{ github.workspace }}/numpy
6161
env:
6262
CXX: g++-12
6363
CC: gcc-12
6464
run: |
65-
python runtests.py -t numpy/core/tests/test_multiarray.py
65+
spin build -- -Dallow-noblas=true
66+
export NUMPY_SITE=$(realpath build-install/usr/lib/python*/site-packages/)
67+
export PYTHONPATH="$PYTHONPATH:$NUMPY_SITE"
68+
cd build-install &&
69+
python -c "import numpy; numpy.show_config()" &&
70+
python -m pytest $NUMPY_SITE/numpy/core/tests/test_multiarray.py
6671
6772

0 commit comments

Comments
 (0)