From 811d6c3cebdbfe159939805a5c3ebd338069fef2 Mon Sep 17 00:00:00 2001 From: Samuel Lampa Date: Fri, 26 Jan 2024 11:17:06 +0100 Subject: [PATCH] Fix bug in ci workflow: NF install should be conditional --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 83dd8f05..4c3df126 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,16 +33,16 @@ jobs: #- "-profile klebsiella_pneumoniae" #- "-profile escherichia_coli" steps: - - name: Check out pipeline code + - name: Install Nextflow # For running (locally) with ACT, we use a docker image with Nextflow pre-installed if: "${{ ! github.event.act }}" - uses: actions/checkout@v3 - - - name: Install Nextflow uses: nf-core/setup-nextflow@v1 with: version: "${{ matrix.NXF_VER }}" + - name: Check out pipeline code + uses: actions/checkout@v3 + - name: Run pipeline with test data run: | nextflow run ${GITHUB_WORKSPACE}/main.nf ${{ matrix.parameters }} -config configs/nextflow.ci.config --csv assets/test_data/samplelist.testrun.csv