Skip to content

Commit

Permalink
mount tmpdir in test
Browse files Browse the repository at this point in the history
  • Loading branch information
nebfield committed Nov 29, 2023
1 parent 8661b35 commit 63abf09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ancestry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ on:
env:
NXF_SINGULARITY_CACHEDIR: ${{ github.workspace }}/singularity
SINGULARITY_VERSION: 3.8.3

TMPDIR: ${{ runner.temp }}

jobs:
docker:
if: ${{ inputs.docker }}
Expand Down
1 change: 1 addition & 0 deletions tests/config/nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def mount_home = "-v $HOME:$HOME -v /private/var/folders/"
if ("$PROFILE" == "singularity") {
singularity.enabled = true
singularity.autoMounts = true
singularity.runOptions = "--bind $TMPDIR:$TMPDIR"
} else if ("$PROFILE" == "conda") {
conda.enabled = true
} else if ("$PROFILE" == "mamba") {
Expand Down

0 comments on commit 63abf09

Please sign in to comment.