Skip to content

Commit

Permalink
debug: restore cache after install
Browse files Browse the repository at this point in the history
  • Loading branch information
Delcior committed Apr 7, 2024
1 parent 33bba3e commit ec6a951
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tests+pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,6 @@ jobs:
- uses: mpi4py/setup-mpi@v1
with:
mpi: ${{ matrix.mpi }}
# - id: cache
# uses: actions/cache/restore@v4
# with:
# path: ${{ env.pip_user_site }}
# key: ${{ matrix.platform }}-${{ matrix.mpi }}-${{ matrix.python-version }}
- if: matrix.mpi == 'mpich'
run: echo _ch="ch" >> $GITHUB_ENV
- if: startsWith(matrix.platform, 'ubuntu-')
Expand All @@ -197,6 +192,11 @@ jobs:
echo HDF5_LIBDIR=/usr/lib/x86_64-linux-gnu/hdf5/mpich >> $GITHUB_ENV
echo HDF5_INCLUDEDIR=/usr/include/hdf5/mpich >> $GITHUB_ENV
- run: pip install -e .[tests]
- id: cache
uses: actions/cache/restore@v4
with:
path: ${{ env.pip_user_site }}
key: ${{ matrix.platform }}-${{ matrix.mpi }}-${{ matrix.python-version }}
- run: python -We -c "import PyMPDATA_MPI"
- if: matrix.mpi == 'openmpi'
run: echo _mpiexec_args="--oversubscribe" >> $GITHUB_ENV
Expand Down

0 comments on commit ec6a951

Please sign in to comment.