Skip to content

Commit

Permalink
adjust ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasscheid committed Sep 28, 2023
1 parent d55446a commit 370e957
Showing 1 changed file with 20 additions and 15 deletions.
35 changes: 20 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,32 +37,37 @@ jobs:

- name: Run pipeline with test data
run: |
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --spectrum_batch_size 5000 --outdir ./results
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --outdir ./results
profiles:
name: Run pipeline with additional params
# Only run on push if this is the nf-core dev branch (merged PRs)
if: "${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/mhcquant') }}"
profile:
name: Run profile tests
if: ${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/mhcquant') }}
runs-on: ubuntu-latest
env:
NXF_VER: ${{ matrix.nxf_ver }}
NXF_ANSI_LOG: false
strategy:
matrix:
include:
- NXF_VER:
- "23.04.0"
- "latest-everything"
tests: ["test_deeplc", "test_ms2pip", "test_quant", "test_ionannotator", "test_full"]
# Test pipeline minimum Nextflow version
- NXF_VER: "23.04.0"
NXF_EDGE: ""
# Test latest edge release of Nextflow
- NXF_VER: ""
NXF_EDGE: "1"
tests: ["test_deeplc", "test_ms2pip", "test_ionannotator", "test_quant", "test_full"]
steps:
- name: Check out pipeline code
uses: actions/checkout@v3

uses: actions/checkout@v2
- name: Install Nextflow
uses: nf-core/setup-nextflow@v1

with:
version: ${{ matrix.NXF_VER }}
env:
NXF_VER: ${{ matrix.NXF_VER }}
# Uncomment only if the edge release is more recent than the latest stable release
# See https://github.com/nextflow-io/nextflow/issues/2467
# NXF_EDGE: ${{ matrix.NXF_EDGE }}
run: |
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/
- name: Run pipeline with profile ${{ matrix.tests }}
run: |
nextflow run ${GITHUB_WORKSPACE} -profile ${{ matrix.tests }},docker --outdir ./results

0 comments on commit 370e957

Please sign in to comment.