diff --git a/nf_core/pipeline-template/.github/workflows/ci.yml b/nf_core/pipeline-template/.github/workflows/ci.yml index eefb59496..f332eee5a 100644 --- a/nf_core/pipeline-template/.github/workflows/ci.yml +++ b/nf_core/pipeline-template/.github/workflows/ci.yml @@ -27,6 +27,10 @@ jobs: NXF_VER: - "24.04.2" - "latest-everything" + engine: + - "conda" + - "docker" + - "singularity" steps: - name: Check out pipeline code uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4 @@ -39,21 +43,10 @@ jobs: - name: Disk space cleanup uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1 - - name: Run pipeline with test data (docker) + - name: "Run pipeline with test data {% raw %}${{ matrix.NXF_VER }}{% endraw %} | {% raw %}${{ matrix.engine }}{% endraw %}" # TODO nf-core: You can customise CI pipeline run tests as required # For example: adding multiple test runs with different parameters # Remember that you can parallelise this by using strategy.matrix run: | - nextflow run ${GITHUB_WORKSPACE} -profile test,docker --outdir ./results - - - name: Run pipeline with test data (singularity) - # TODO nf-core: You can customise CI pipeline run tests as required - run: | - nextflow run ${GITHUB_WORKSPACE} -profile test,singularity --outdir ./results - if: "{% raw %}${{ github.base_ref == 'master' }}{% endraw %}" - - - name: Run pipeline with test data (conda) - # TODO nf-core: You can customise CI pipeline run tests as required - run: | - nextflow run ${GITHUB_WORKSPACE} -profile test,conda --outdir ./results - if: "{% raw %}${{ github.base_ref == 'master' }}{% endraw %}" + nextflow run ${GITHUB_WORKSPACE} -profile test,{% raw %}${{ matrix.engine }}{% endraw %} --outdir ./results + if: "!{% raw %}${{ github.base_ref == 'master' }}{% endraw %} || {% raw %}${{ matrix.engine == 'docker' }}{% endraw %}"