File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 11name : " nf-test Action"
22description : " Runs nf-test with common setup steps"
33inputs :
4- path :
5- description : " Path to test"
6- required : false
74 profile :
85 description : " Profile to use"
96 required : true
@@ -13,6 +10,9 @@ inputs:
1310 total_shards :
1411 description : " Total number of test shards(NOT the total number of matrix jobs)"
1512 required : true
13+ tags :
14+ description : " Tags to test (`<tags>[,<tags>...]`)"
15+ required : false
1616
1717runs :
1818 using : " composite"
@@ -70,18 +70,19 @@ runs:
7070 env :
7171 SENTIEON_LICSRVR_IP : ${{ env.SENTIEON_LICSRVR_IP }}
7272 SENTIEON_AUTH_MECH : " GitHub Actions - token"
73+ TAGS : ${{ inputs.tags && format('--tag {0}', inputs.tags) || '' }}
7374 run : |
7475 NFT_WORKDIR=~ \
7576 nf-test test \
7677 --profile=${{ inputs.profile }} \
7778 --tap=test.tap \
7879 --verbose \
7980 --ci \
80- # FIXME this doesn't work with a path? --changed-since HEAD^ \
81+ --changed-since HEAD^ \
8182 --shard ${{ inputs.shard }}/${{ inputs.total_shards }} \
8283 --filter process,workflow \
8384 --follow-dependencies \
84- ${{ inputs.path }}
85+ ${{ env.TAGS }}
8586
8687 # TODO If no test.tap, then make one to spoof?
8788 - uses : pcolby/tap-summary@0959cbe1d4422e62afc65778cdaea6716c41d936 # v1
Original file line number Diff line number Diff line change @@ -45,11 +45,11 @@ jobs:
4545 shard : [1, 2]
4646 # TODO Pass these in from GitHub PR trigger events
4747 include :
48- - path : modules/nf-core/ parabricks/applybqsr
48+ - tags : parabricks/applybqsr
4949 profile : [docker_self_hosted, singularity]
50- - path : modules/nf-core/ parabricks/fq2bam
50+ - tags : parabricks/fq2bam
5151 profile : [docker_self_hosted, singularity]
52- - path : modules/nf-core/ parabricks/fq2bammeth
52+ - tags : parabricks/fq2bammeth
5353 profile : [docker_self_hosted, singularity]
5454 env :
5555 NXF_ANSI_LOG : false
You can’t perform that action at this time.
0 commit comments