From cf9dcee499b7dee0b6401ce8f595dd84e8e28ffb Mon Sep 17 00:00:00 2001 From: AlexVCaron Date: Thu, 19 Dec 2024 05:02:03 +0000 Subject: [PATCH] try running tests one down from the repo --- .github/workflows/test_component.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_component.yml b/.github/workflows/test_component.yml index a3f0f28..18ec17e 100644 --- a/.github/workflows/test_component.yml +++ b/.github/workflows/test_component.yml @@ -57,7 +57,7 @@ on: default: "0.9.0" env: - NXF_SINGULARITY_CACHEDIR: /home/runner/.singularity_cache/.singularity + NXF_SINGULARITY_CACHEDIR: ${{ github.workspace }}/../.singularity_cache/.singularity NXF_SINGULARITY_LIBRARYDIR: ${{ github.workspace }}/.singularity run-name: Run nf-test on ${{ inputs.paths }} @@ -74,7 +74,7 @@ jobs: NFTEST_VERSION: "${{ inputs.nf_test_version }}" # nf-test directories need to be placed on an ephemeral disk accessible to docker. # In our case, it's only the _work workspace for security reasons - NXF_WORKDIR: /home/runner/_work + NXF_WORKDIR: "${{ github.workspace }}/.." steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7