Skip to content

Commit

Permalink
Add case-by-case Python dependency caching to CI suite
Browse files Browse the repository at this point in the history
  • Loading branch information
johvincau committed Dec 4, 2023
1 parent ec8850d commit ae49de0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,15 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Restore Python cache
uses: actions/cache@v3
with:
path: ${{ env.pythonLocation }}
key: python-${{ matrix.python-version }}-cache-(omp=${{ matrix.omp }}
mpi=${{ matrix.mpi }} dagmc=${{ matrix.dagmc }} ncrystal=${{ matrix.ncrystal }}
libmesh=${{ matrix.libmesh }} event=${{ matrix.event }}
vectfit=${{ matrix.vectfit }})

- name: Environment Variables
run: |
echo "DAGMC_ROOT=$HOME/DAGMC"
Expand All @@ -121,6 +130,7 @@ jobs:
sudo update-alternatives --set mpirun /usr/bin/mpirun.mpich
sudo update-alternatives --set mpi-x86_64-linux-gnu /usr/include/x86_64-linux-gnu/mpich
- name: install
shell: bash
run: |
Expand Down

0 comments on commit ae49de0

Please sign in to comment.