-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9b1e414
commit 451c2dc
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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" | ||
|