Skip to content

Commit

Permalink
use gpu profile in tests config
Browse files Browse the repository at this point in the history
  • Loading branch information
sateeshperi committed Dec 11, 2024
1 parent 18119ab commit 099fd57
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/nf-test-gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
strategy:
fail-fast: false
matrix:
profile: [docker_self_hosted, singularity]
profile: [gpu]
shard: ${{ fromJson(needs.get-shards.outputs.shard) }}
NXF_VER:
- "24.10.2"
Expand Down
6 changes: 6 additions & 0 deletions tests/nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ process {
}

profiles {
gpu {
docker.runOptions = '-u $(id -u):$(id -g) --gpus all'
apptainer.runOptions = '--nv'
singularity.runOptions = '--nv'
use_gpu = true
}
docker_self_hosted {
docker.enabled = true
docker.fixOwnership = true
Expand Down

0 comments on commit 099fd57

Please sign in to comment.