2019-11-25 23:52:39 +00:00
|
|
|
|
name: Configs tests
|
2019-11-25 23:25:49 +00:00
|
|
|
|
|
2019-11-26 13:07:25 +00:00
|
|
|
|
on: [pull_request, push]
|
2019-11-25 23:25:49 +00:00
|
|
|
|
jobs:
|
2019-11-26 13:11:16 +00:00
|
|
|
|
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
|
2019-12-05 11:16:01 +00:00
|
|
|
|
run: |
|
2019-11-26 13:11:16 +00:00
|
|
|
|
python ${GITHUB_WORKSPACE}/bin/cchecker.py ${GITHUB_WORKSPACE}/nfcore_custom.config ${GITHUB_WORKSPACE}/.github/workflows/main.yml
|
2019-11-25 23:34:55 +00:00
|
|
|
|
profile_test:
|
|
|
|
|
runs-on: ubuntu-latest
|
2019-11-26 13:12:19 +00:00
|
|
|
|
name: Run ${{ matrix.profile }} profile
|
2019-11-26 13:11:16 +00:00
|
|
|
|
needs: test_all_profiles
|
2019-11-25 23:25:49 +00:00
|
|
|
|
strategy:
|
|
|
|
|
matrix:
|
2021-04-21 20:01:25 +00:00
|
|
|
|
profile: ['abims', 'awsbatch', 'bi','bigpurple', 'binac', 'biohpc_gen', 'cbe', 'ccga_dx', 'ccga_med', 'cfc', 'cfc_dev', 'crick', 'denbi_qbic', 'ebc', 'eddie', 'eva', 'genotoul', 'genouest', 'gis', 'google', 'hebbe', 'icr_davros', 'ifb_core', 'imperial', 'imperial_mb', 'jax', 'kraken', 'mpcdf', 'munin', 'oist', 'pasteur', 'phoenix', 'prince', 'sanger', 'seg_globe', 'shh', 'uct_hpc', 'uppmax', 'utd_ganymede', 'uzh']
|
2019-11-25 23:25:49 +00:00
|
|
|
|
steps:
|
2019-11-25 23:51:08 +00:00
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
|
- name: Install Nextflow
|
|
|
|
|
run: |
|
2019-11-25 23:25:49 +00:00
|
|
|
|
wget -qO- get.nextflow.io | bash
|
|
|
|
|
sudo mv nextflow /usr/local/bin/
|
2019-11-26 13:12:41 +00:00
|
|
|
|
- name: Check ${{ matrix.profile }} profile
|
2020-06-17 13:25:07 +00:00
|
|
|
|
env:
|
2019-11-26 13:27:22 +00:00
|
|
|
|
SCRATCH: '~'
|
2020-05-27 14:55:37 +00:00
|
|
|
|
NXF_GLOBAL_CONFIG: awsbatch.config
|
2020-05-27 14:43:32 +00:00
|
|
|
|
run: nextflow run ${GITHUB_WORKSPACE}/configtest.nf --custom_config_base=${GITHUB_WORKSPACE} -profile ${{ matrix.profile }}
|