Skip to content

Commit

Permalink
Merge pull request #79 from r-devulap/ci-fix
Browse files Browse the repository at this point in the history
update CI that builds NumPy
  • Loading branch information
r-devulap authored Sep 19, 2023
2 parents 527248c + 3e09910 commit 973dd8a
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build-numpy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

- uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.11'

- name: Install NumPy dependencies
working-directory: ${{ github.workspace }}/numpy
Expand All @@ -56,12 +56,17 @@ jobs:
git fetch temp
git checkout temp/pr-branch
- name: Build & run NumPy sort tests
- name: Build and run NumPy tests
working-directory: ${{ github.workspace }}/numpy
env:
CXX: g++-12
CC: gcc-12
run: |
python runtests.py -t numpy/core/tests/test_multiarray.py
spin build -- -Dallow-noblas=true
export NUMPY_SITE=$(realpath build-install/usr/lib/python*/site-packages/)
export PYTHONPATH="$PYTHONPATH:$NUMPY_SITE"
cd build-install &&
python -c "import numpy; numpy.show_config()" &&
python -m pytest $NUMPY_SITE/numpy/core/tests/test_multiarray.py

0 comments on commit 973dd8a

Please sign in to comment.