1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-11 04:23:10 +00:00
nf-configs/.github/workflows/main.yml

99 lines
2.6 KiB
YAML
Raw Normal View History

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]
2020-06-26 12:30:53 +00:00
2019-11-25 23:25:49 +00:00
jobs:
2020-06-26 12:30:53 +00:00
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
run: python ${GITHUB_WORKSPACE}/bin/cchecker.py ${GITHUB_WORKSPACE}/nfcore_custom.config ${GITHUB_WORKSPACE}/.github/workflows/main.yml
2020-06-26 12:30:53 +00:00
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}
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:
profile:
2021-07-03 12:36:56 +00:00
- 'abims'
2021-09-28 10:08:27 +00:00
- 'alice'
2021-07-03 13:13:10 +00:00
- 'aws_tower'
2021-07-27 14:35:19 +00:00
- 'awsbatch'
2021-11-18 20:51:39 +00:00
- 'azurebatch'
2021-07-03 12:36:56 +00:00
- 'bi'
- 'bigpurple'
- 'binac'
- 'biohpc_gen'
2021-07-27 14:35:19 +00:00
- 'cambridge'
2021-10-21 17:55:03 +00:00
- 'leicester'
2021-07-03 12:36:56 +00:00
- 'cbe'
- 'ccga_dx'
- 'ccga_med'
- 'cfc'
- 'cfc_dev'
- 'cheaha'
2021-08-31 12:35:24 +00:00
- 'computerome'
2021-07-03 12:36:56 +00:00
- 'crick'
- 'denbi_qbic'
- 'ebc'
- 'eddie'
- 'eva'
2022-03-04 11:16:01 +00:00
- 'fgcz'
2021-07-03 12:36:56 +00:00
- 'genotoul'
- 'genouest'
- 'gis'
- 'google'
2021-09-27 14:12:23 +00:00
- 'hasta'
2021-07-03 12:36:56 +00:00
- 'hebbe'
- 'icr_davros'
- 'ifb_core'
- 'imperial'
- 'jax'
- 'lugh'
2022-02-28 13:52:32 +00:00
- 'marvin'
- 'maestro'
2021-07-03 12:36:56 +00:00
- 'mpcdf'
- 'munin'
2021-07-28 18:10:18 +00:00
- 'nu_genomics'
2021-12-17 05:40:43 +00:00
- 'nihbiowulf'
2021-07-03 12:36:56 +00:00
- 'oist'
- 'pasteur'
- 'phoenix'
- 'prince'
2021-09-08 12:33:39 +00:00
- 'rosalind'
2022-03-12 10:47:33 +00:00
- 'sahmri'
2021-07-03 12:36:56 +00:00
- 'sanger'
- 'seg_globe'
- 'uct_hpc'
2021-11-18 23:02:30 +00:00
- 'unibe_ibu'
2021-07-03 12:36:56 +00:00
- 'uppmax'
- 'utd_ganymede'
2021-07-03 12:39:17 +00:00
- 'utd_sysbio'
2021-07-03 12:36:56 +00:00
- 'uzh'
2022-03-07 20:01:46 +00:00
- 'vai'
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:
2021-09-27 14:11:18 +00:00
SCRATCH: "~"
NXF_GLOBAL_CONFIG: awsbatch.config
run: nextflow run ${GITHUB_WORKSPACE}/configtest.nf -profile ${{ matrix.profile }}