Skip to content

Commit 5fbed9c

Browse files
authored
Merge pull request #534 from nf-core/use/runs_on
2 parents 927f967 + 93c1ed0 commit 5fbed9c

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.github/workflows/nf-test-gpu.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ env:
3030

3131
jobs:
3232
get-shards:
33-
runs-on: "runs-on=${{ github.run_id }}/family=g4dn.xlarge/image=ubuntu24-gpu-x64"
33+
runs-on:
34+
- runs-on=${{ github.run_id }}-nf-test-get-shards-gpu
35+
- runner=2cpu-linux-x64
3436
name: "Get Shards"
3537
outputs:
3638
shard: ${{ steps.set-shards.outputs.shard }}
@@ -86,6 +88,10 @@ jobs:
8688
with:
8789
fetch-depth: 0
8890

91+
- name: Test CUDA
92+
run: |
93+
nvidia-smi -L
94+
8995
- name: Run nf-test Action
9096
uses: ./.github/actions/nf-test
9197
with:

.github/workflows/nf-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
get-shards:
3636
runs-on:
3737
- runs-on=${{ github.run_id }}-nf-test-get-shards
38-
- runner=4cpu-linux-x64
38+
- runner=2cpu-linux-x64
3939
name: "Get Shards"
4040
outputs:
4141
shard: ${{ steps.set-shards.outputs.shard }}

tests/bwameth_use_gpu.nf.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ nextflow_pipeline {
66
tag "gpu"
77

88
test("Params: bwameth | use_gpu") {
9+
910
when {
1011
params {
1112
input = "${projectDir}/assets/samplesheet_gpu.csv"

0 commit comments

Comments
 (0)