1313 NFT_DIFF : " pdiff"
1414 NFT_DIFF_ARGS : " --line-numbers --width 120 --expand-tabs=2"
1515 NFT_VER : " 0.9.2"
16- NFT_WORKDIR : " ~ "
16+ NFT_WORKDIR : " ${{ github.workspace }}/nf-test-work "
1717 NXF_ANSI_LOG : false
1818 NXF_SINGULARITY_CACHEDIR : ${{ github.workspace }}/.singularity
1919 NXF_SINGULARITY_LIBRARYDIR : ${{ github.workspace }}/.singularity
@@ -32,10 +32,11 @@ jobs:
3232 NXF_VER :
3333 - " 24.10.2"
3434 - " latest-everything"
35- filter : ["workflow", " pipeline"]
35+ filter : ["pipeline"]
3636 # filter: ["process", "workflow", "function", "pipeline"]
3737 profile : ["conda", "docker", "singularity"]
38- shard : [1] # , 2, 3, 4, 5]
38+ shard : [1]
39+ # shard: [1, 2, 3, 4, 5]
3940
4041 steps :
4142 - name : Check out pipeline code
@@ -140,6 +141,16 @@ jobs:
140141 with :
141142 report_paths : " TEST-*.xml"
142143
144+ - name : Upload test results
145+ if : always() # run even if tests fail
146+ uses : actions/upload-artifact@v4
147+ with :
148+ name : nf-test-results-${{ matrix.filter }}-${{ matrix.profile }}-${{ matrix.NXF_VER }}-${{ matrix.shard }}
149+ path : |
150+ TEST-*.xml
151+ ${{ env.NFT_WORKDIR }}/**/output/**
152+ retention-days : 4
153+
143154 - name : Clean up
144155 if : success() || failure()
145156 run : |
0 commit comments