Skip to content

Commit c5f6f65

Browse files
committed
only 1 shard for now
1 parent 4e60089 commit c5f6f65

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

.github/workflows/nf-test.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,7 @@ jobs:
3535
filter: ["workflow", "pipeline"]
3636
# filter: ["process", "workflow", "function", "pipeline"]
3737
profile: ["conda", "docker", "singularity"]
38-
shard: [1, 2, 3, 4, 5]
39-
#isMaster:
40-
# - ${{ github.base_ref == 'main' }}
41-
#exclude:
42-
# - isMaster: false
43-
# profile: "conda"
44-
# - isMaster: false
45-
# profile: "singularity"
38+
shard: [1] #, 2, 3, 4, 5]
4639

4740
steps:
4841
- name: Check out pipeline code
@@ -111,21 +104,21 @@ jobs:
111104
--ci \
112105
--dryRun \
113106
--junitxml="TEST-${{ matrix.filter }}_${{ matrix.profile }}_${{ matrix.shard }}.xml" \
114-
--shard ${{ matrix.shard }}/5 \
107+
--shard ${{ matrix.shard }}/1 \
115108
--changed-since HEAD^ \
116109
--follow-dependencies \
117110
--profile "+${{ matrix.profile }}" \
118111
--filter ${{ matrix.filter }} \
119112
| grep PASSED | cut -d "'" -f 2 | sed 's/^/- /' | sort -u >> $GITHUB_STEP_SUMMARY
120113
121-
- name: "Run tests | ${{ matrix.filter }}_${{ matrix.profile }} | ${{ matrix.shard }}/5"
114+
- name: "Run tests | ${{ matrix.filter }}_${{ matrix.profile }} | ${{ matrix.shard }}/1"
122115
run: |
123116
nf-test test \
124117
--ci \
125118
--debug \
126119
--verbose \
127120
--junitxml="TEST-${{ matrix.filter }}_${{ matrix.profile }}_${{ matrix.shard }}.xml" \
128-
--shard ${{ matrix.shard }}/5 \
121+
--shard ${{ matrix.shard }}/1 \
129122
--changed-since HEAD^ \
130123
--follow-dependencies \
131124
--profile "+${{ matrix.profile }}" \

nf-test.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
config {
22
// location for all nf-tests
3-
testsDir "."
3+
testsDir "nf-tests/"
44

55
// nf-test directory including temporary files for each test
66
workDir System.getenv("NFT_WORKDIR") ?: ".nf-test"

0 commit comments

Comments
 (0)