Skip to content

Commit cec1977

Browse files
committed
Add check that a report is *not* generated if all sample names are ignored
1 parent ccae8de commit cec1977

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.github/workflows/linux.yaml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,39 +37,44 @@ jobs:
3737

3838
- name: Test MiSeq
3939
run: |
40-
multiqc --strict -v test_data/MiSeq -o test_output/MiSeq
40+
multiqc --strict test_data/MiSeq -o test_output/MiSeq
4141
test -f test_output/MiSeq/multiqc_report.html || (echo "ERROR: Report not generated" && exit 1)
4242
4343
- name: Test MiSeqI100
4444
run: |
45-
multiqc --strict -v test_data/MiSeqI100 -o test_output/MiSeqI100
45+
multiqc --strict test_data/MiSeqI100 -o test_output/MiSeqI100
4646
test -f test_output/MiSeqI100/multiqc_report.html || (echo "ERROR: Report not generated" && exit 1)
4747
4848
- name: Test HiSeq3000
4949
run: |
50-
multiqc --strict -v test_data/HiSeq3000 -o test_output/HiSeq3000
50+
multiqc --strict test_data/HiSeq3000 -o test_output/HiSeq3000
5151
test -f test_output/HiSeq3000/multiqc_report.html || (echo "ERROR: Report not generated" && exit 1)
5252
5353
- name: Test NextSeq500
5454
run: |
55-
multiqc --strict -v test_data/NextSeq500 -o test_output/NextSeq500
55+
multiqc --strict test_data/NextSeq500 -o test_output/NextSeq500
5656
test -f test_output/NextSeq500/multiqc_report.html || (echo "ERROR: Report not generated" && exit 1)
5757
5858
- name: Test NextSeq2000
5959
run: |
60-
multiqc --strict -v test_data/NextSeq2000 -o test_output/NextSeq2000
60+
multiqc --strict test_data/NextSeq2000 -o test_output/NextSeq2000
6161
test -f test_output/NextSeq2000/multiqc_report.html || (echo "ERROR: Report not generated" && exit 1)
6262
6363
- name: Test NovaSeq6000
6464
run: |
65-
multiqc --strict -v test_data/NovaSeq6000 -o test_output/NovaSeq6000
65+
multiqc --strict test_data/NovaSeq6000 -o test_output/NovaSeq6000
6666
test -f test_output/NovaSeq6000/multiqc_report.html || (echo "ERROR: Report not generated" && exit 1)
6767
6868
- name: Test NovaSeqX
6969
run: |
70-
multiqc --strict -v test_data/NovaSeqX -o test_output/NovaSeqX
70+
multiqc --strict test_data/NovaSeqX -o test_output/NovaSeqX
7171
test -f test_output/NovaSeqX/multiqc_report.html || (echo "ERROR: Report not generated" && exit 1)
7272
73+
- name: Check that ignoring samples works
74+
run: |
75+
multiqc --strict test_data/ -o test_output/ignore_samples --ignore-samples "*"
76+
test ! -f test_output/ignore_samples/multiqc_report.html || (echo "ERROR: Report should not be generated" && exit 1)
77+
7378
- name: Upload test output
7479
uses: actions/upload-artifact@v4
7580
if: always()

0 commit comments

Comments
 (0)