1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-22 08:29:54 +00:00

Fix new CI test

This commit is contained in:
Phil Ewels 2020-06-26 14:30:53 +02:00
parent b587a2d031
commit a7c8cbc410

View file

@ -1,7 +1,9 @@
name: Configs tests name: Configs tests
on: [pull_request, push] on: [pull_request, push]
jobs: jobs:
test_all_profiles: test_all_profiles:
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Check if all profiles are tested name: Check if all profiles are tested
@ -9,7 +11,18 @@ jobs:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Check whether profiles are all tested - 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: 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: profile_test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Run ${{ matrix.profile }} profile name: Run ${{ matrix.profile }} profile