Skip to content

Commit

Permalink
check caching
Browse files Browse the repository at this point in the history
  • Loading branch information
CChahrour committed May 31, 2024
1 parent 7a6b7f3 commit 1b77ea3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test_pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
key: ${{ runner.os }}-env-${{ hashFiles('**/testing.yml') }}
restore-keys: |
${{ runner.os }}-env-
- name: Setup conda
uses: conda-incubator/setup-miniconda@v3
with:
Expand All @@ -36,6 +37,7 @@ jobs:
shell: pwsh
run: |
pip install .
- name: Cache singularity
if: matrix.test == 'pipeline'
id: cache-singularity
Expand All @@ -45,6 +47,7 @@ jobs:
key: ${{ runner.os }}-singularity-${{ hashFiles('tmp/*') }}
restore-keys: |
${{ runner.os }}-singularity-
- uses: eWaterCycle/setup-apptainer@v2
if: matrix.test == 'pipeline'
with:
Expand All @@ -56,6 +59,7 @@ jobs:
run: |
apptainer remote add --no-login SylabsCloud cloud.sylabs.io
apptainer remote use SylabsCloud
- name: Pull singularity images
if: matrix.test == 'pipeline' && steps.cache-singularity.outputs.cache-hit != 'true'
shell: bash
Expand All @@ -69,6 +73,7 @@ jobs:
elif [[ "${{ matrix.assay }}" == "rna-rx" ]]; then
apptainer pull --force library://asmith151/seqnado/seqnado_report:latest
fi
- name: Test ${{ matrix.test }} ${{ matrix.assay }}
shell: pwsh
env:
Expand Down

0 comments on commit 1b77ea3

Please sign in to comment.