|
| 1 | +name: Smoke Tests |
| 2 | + |
| 3 | +on: |
| 4 | + push: |
| 5 | + branches: [main, devel] |
| 6 | + pull_request: |
| 7 | + branches: [main, devel] |
| 8 | + |
| 9 | +jobs: |
| 10 | + smoke_test: |
| 11 | + name: "${{ matrix.profile }} (NF ${{ matrix.nextflow_version }})${{ matrix.quantification_mode && format(' [{0}]', matrix.quantification_mode) || '' }}${{ matrix.bam_only && ' [bam_only]' || '' }}" |
| 12 | + runs-on: ubuntu-latest |
| 13 | + strategy: |
| 14 | + matrix: |
| 15 | + include: |
| 16 | + # Nextflow 26.04.0 - all profiles |
| 17 | + - {nextflow_version: "26.04.0", profile: test_sc_fastq} |
| 18 | + - {nextflow_version: "26.04.0", profile: test_sc_bam} |
| 19 | + - {nextflow_version: "26.04.0", profile: test_sc_multi} |
| 20 | + - {nextflow_version: "26.04.0", profile: test_visium} |
| 21 | + - {nextflow_version: "26.04.0", profile: test_custom} |
| 22 | + # latest-stable - all profiles (default EM_clusters) |
| 23 | + - {nextflow_version: "latest-stable", profile: test_sc_fastq} |
| 24 | + - {nextflow_version: "latest-stable", profile: test_sc_bam} |
| 25 | + - {nextflow_version: "latest-stable", profile: test_sc_multi} |
| 26 | + - {nextflow_version: "latest-stable", profile: test_visium} |
| 27 | + - {nextflow_version: "latest-stable", profile: test_custom} |
| 28 | + # latest-stable - extra parameter variants |
| 29 | + - {nextflow_version: "latest-stable", profile: test_sc_fastq, quantification_mode: EM} |
| 30 | + - {nextflow_version: "latest-stable", profile: test_sc_multi, quantification_mode: EM} |
| 31 | + - {nextflow_version: "latest-stable", profile: test_sc_fastq, quantification_mode: no_quant} |
| 32 | + - {nextflow_version: "latest-stable", profile: test_sc_fastq, bam_only: true} |
| 33 | + steps: |
| 34 | + - uses: actions/checkout@v4 |
| 35 | + - uses: nf-core/setup-nextflow@v2 |
| 36 | + with: |
| 37 | + version: ${{ matrix.nextflow_version }} |
| 38 | + - name: Run ${{ matrix.profile }} |
| 39 | + run: | |
| 40 | + nextflow run . -profile test_base,${{ matrix.profile }},docker \ |
| 41 | + ${{ matrix.quantification_mode && format('--quantification_mode {0}', matrix.quantification_mode) || '' }} \ |
| 42 | + ${{ matrix.bam_only && '--bam_only' || '' }} |
0 commit comments