Skip to content

Commit

Permalink
Check if cache works now
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahlanzrath committed Dec 6, 2024
1 parent 9b1e414 commit 451c2dc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ jobs:
run: echo "today=$(/bin/date -u '+%Y%m%d')" >> $GITHUB_OUTPUT
shell: bash

- name: Restore Conda Environment Cache
- name: Restore cache and save updated environment after job
uses: actions/cache@v4
with:
path: ${{ env.CONDA }}/envs
key: ${{ matrix.os }}-python_${{ matrix.python-version }}-${{ steps.get-date.outputs.today }}-${{ hashFiles(env.CONDA_FILE) }}-${{ env.CACHE_NUMBER }}
id: cache

- name: Set up Miniforge and Create Environment
- name: No cache found - Create environment with Miniforge
uses: conda-incubator/[email protected]
with:
miniforge-version: latest
Expand All @@ -58,11 +58,11 @@ jobs:
auto-activate-base: false
if: steps.cache.outputs.cache-hit != 'true'

- name: Install
- name: Install CADET-Process
run: |
pip install -e ./[testing]
- name: Check Python and Test
- name: Check Python and run tests
run: |
PYTHON_VERSION=$(python --version | awk '{print $2}')
echo "Running on Python version: $PYTHON_VERSION"
Expand Down

0 comments on commit 451c2dc

Please sign in to comment.