mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-22 16:29:55 +00:00
ebae81ceb3
Drop CCGA, as it was removed in an intermediate merge.
29 lines
1.2 KiB
YAML
29 lines
1.2 KiB
YAML
name: Configs tests
|
||
|
||
on: [pull_request, push]
|
||
jobs:
|
||
test_all_profiles:
|
||
runs-on: ubuntu-latest
|
||
name: Check if all profiles are tested
|
||
steps:
|
||
- 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
|
||
profile_test:
|
||
runs-on: ubuntu-latest
|
||
name: Run ${{ matrix.profile }} profile
|
||
needs: test_all_profiles
|
||
strategy:
|
||
matrix:
|
||
profile: ['awsbatch', 'bigpurple', 'binac', 'cbe', 'ccga_dx', 'ccga_med', 'cfc', 'crick', 'denbi_qbic', 'genotoul', 'genouest', 'gis', 'google', 'hebbe', 'kraken', 'munin', 'pasteur', 'phoenix', 'prince', 'shh', 'uct_hex', 'uppmax', 'uzh']
|
||
steps:
|
||
- uses: actions/checkout@v1
|
||
- name: Install Nextflow
|
||
run: |
|
||
wget -qO- get.nextflow.io | bash
|
||
sudo mv nextflow /usr/local/bin/
|
||
- name: Check ${{ matrix.profile }} profile
|
||
env:
|
||
SCRATCH: '~'
|
||
run: nextflow run ${GITHUB_WORKSPACE}/configtest.nf --custom_config_base=${GITHUB_WORKSPACE} -profile ${{ matrix.profile }}
|