Skip to content

Commit

Permalink
Fix bug in ci workflow: NF install should be conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
samuell committed Jan 26, 2024
1 parent 8826a93 commit 811d6c3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 811d6c3

Please sign in to comment.