Skip to content

Commit

Permalink
testing only hypre and mumps
Browse files Browse the repository at this point in the history
  • Loading branch information
enricofacca committed Aug 29, 2024
1 parent c72c8cc commit 682ab6c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ jobs:
# echo "PETSC_DIR=/usr/local/petsc" >> $GITHUB_ENV
# echo "PETSC_ARCH=arch-linux-c-opt" >> $GITHUB_ENV

- name: Configure and install Hypre
run: |
# Change directory to petsc directory using python command os.environ["PETSC_DIR"]
python -c "import os; os.chdir(os.environ['PETSC_DIR'])"
./configure --download-hypre
#- name: Configure and install Hypre
# run: |
# # Change directory to petsc directory using python command os.environ["PETSC_DIR"]
# python -c "import os; os.chdir(os.environ['PETSC_DIR'])"
# ./configure --download-hypre

# Installation of petsc in parallel

Expand Down Expand Up @@ -108,6 +108,11 @@ jobs:
if: ${{always()}}
run: isort --check src

- name: pytest
if: ${{always()}}
run: pytest
#- name: pytest
# if: ${{always()}}
# run: pytest

- name : test_hypre_and_mumps
if: ${{always()}}
run: pytest tests/unit/test_wasserstein.py

3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ pandas
plotly
largestinteriorrectangle
pydicom
#petsc4py==3.19.0 # from 3.20. there is requirement for Cython>=3.0.0
#petsc4py==3.19.0 # from 3.20. there is requirement for Cython>=3.0.0
pyamg

0 comments on commit 682ab6c

Please sign in to comment.