mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-25 17:29:55 +00:00
Fix new CI test
This commit is contained in:
parent
b587a2d031
commit
a7c8cbc410
1 changed files with 14 additions and 1 deletions
15
.github/workflows/main.yml
vendored
15
.github/workflows/main.yml
vendored
|
@ -1,7 +1,9 @@
|
|||
name: Configs tests
|
||||
|
||||
on: [pull_request, push]
|
||||
|
||||
jobs:
|
||||
|
||||
test_all_profiles:
|
||||
runs-on: ubuntu-latest
|
||||
name: Check if all profiles are tested
|
||||
|
@ -9,7 +11,18 @@ jobs:
|
|||
- uses: actions/checkout@v1
|
||||
- name: Check whether profiles are all tested
|
||||
run: python ${GITHUB_WORKSPACE}/bin/cchecker.py ${GITHUB_WORKSPACE}/nfcore_custom.config ${GITHUB_WORKSPACE}/.github/workflows/main.yml
|
||||
- run: nextflow config -show-profiles .
|
||||
|
||||
check_nextflow_config:
|
||||
runs-on: ubuntu-latest
|
||||
name: Check if nextflow config runs in repository root
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Install Nextflow
|
||||
run: |
|
||||
wget -qO- get.nextflow.io | bash
|
||||
sudo mv nextflow /usr/local/bin/
|
||||
- run: nextflow config -show-profiles ${GITHUB_WORKSPACE}
|
||||
|
||||
profile_test:
|
||||
runs-on: ubuntu-latest
|
||||
name: Run ${{ matrix.profile }} profile
|
||||
|
|
Loading…
Reference in a new issue