Skip to content

Commit

Permalink
workflows: Add numpy and pytest back
Browse files Browse the repository at this point in the history
  • Loading branch information
ZoeLeibowitz committed Jun 6, 2024
1 parent 596123c commit c81d3d1
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/pytest-petsc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,20 @@ jobs:
make all
grep BLASLAPACK_LIB $HOME/petsc/petsc/arch-linux-c/lib/petsc/conf/petscvariables
- name: Install Python dependencies
run: |
pip3 install --upgrade pip
pip3 install --no-binary numpy numpy
python -c "import numpy; numpy.show_config()"
pip3 install -e .[extras,mpi,tests]
- name: Test with pytest
run: |
export PETSC_DIR=$HOME/petsc/petsc
export PETSC_ARCH=arch-linux-c
python3 scripts/clear_devito_cache.py
python3 -m pytest tests/test_petsc.py
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
Expand Down

0 comments on commit c81d3d1

Please sign in to comment.