Skip to content

Commit

Permalink
use gpu+docker/singularity profile for nf-test
Browse files Browse the repository at this point in the history
  • Loading branch information
sateeshperi committed Dec 12, 2024
1 parent e6cd57b commit 9703f60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .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: [singularity_gpu, docker_gpu]
profile: [docker, singularity]
shard: ${{ fromJson(needs.get-shards.outputs.shard) }}
NXF_VER:
- "24.10.2"
Expand All @@ -83,7 +83,7 @@ jobs:
- name: Run nf-test Action
uses: ./.github/actions/nf-test
with:
profile: ${{ matrix.profile }},gpu
profile: ${{ matrix.profile }}+gpu
shard: ${{ matrix.shard }}
total_shards: ${{ needs.get-shards.outputs.total_shards }}
filters: ${{ matrix.filters }}
Expand Down
15 changes: 0 additions & 15 deletions tests/nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,6 @@ process {
]
}

profiles {
singularity_gpu {
singularity.enabled = true
singularity.autoMounts = true
singularity.runOptions = '--nv'
use_gpu = true
}
docker_gpu {
docker.enabled = true
docker.fixOwnership = true
docker.runOptions = '-u $(id -u):$(id -g) --gpus all'
use_gpu = true
}
}

// Impose same minimum Nextflow version as the pipeline for testing
manifest {
nextflowVersion = '!>=24.10.2'
Expand Down

0 comments on commit 9703f60

Please sign in to comment.