Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 21 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: Configs tests

on: [pull_request, push]
on:
pull_request:
branches:
- "*"
push:
branches:
- master
Comment on lines +2 to +8
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jfy133 that should do the trick

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will the test still trigger now though if you update the pull request?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@maxulysse ☝️

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes


# Cancel if a newer run is started
concurrency:
Expand All @@ -17,15 +22,22 @@ jobs:
run: python ${GITHUB_WORKSPACE}/bin/cchecker.py ${GITHUB_WORKSPACE}/nfcore_custom.config ${GITHUB_WORKSPACE}/.github/workflows/main.yml

check_nextflow_config:
runs-on: ubuntu-latest
name: Check if nextflow config runs in repository root
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
NXF_VER:
- 25.04.0
- latest-everything
steps:
- uses: actions/checkout@v4
- name: Install Nextflow
run: |
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/
- run: nextflow config -show-profiles ${GITHUB_WORKSPACE}
- uses: actions/checkout@v4
- name: Set up Nextflow
uses: nf-core/setup-nextflow@v2
with:
version: ${{ matrix.NXF_VER }}
- run: nextflow config -show-profiles ${GITHUB_WORKSPACE}
- run: nextflow lint ${GITHUB_WORKSPACE}

profile_test:
runs-on: ubuntu-latest
Expand Down
Loading