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

109 lines
2.7 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:
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:
2022-03-17 23:33:31 +00:00
matrix:
profile:
- "abims"
2022-09-01 08:16:56 +00:00
- "adcra"
2022-03-17 23:33:31 +00:00
- "alice"
- "aws_tower"
- "awsbatch"
- "azurebatch"
- "bi"
- "bigpurple"
- "binac"
- "biohpc_gen"
- "cambridge"
- "leicester"
- "cbe"
- "ccga_dx"
- "ccga_med"
2022-04-22 17:29:22 +00:00
- "cedars"
2022-03-17 23:33:31 +00:00
- "cfc"
- "cfc_dev"
- "cheaha"
- "computerome"
- "crick"
- "crukmi"
2022-03-17 23:33:31 +00:00
- "denbi_qbic"
- "ebc"
- "eddie"
- "eva"
- "fgcz"
- "genotoul"
- "genouest"
- "gis"
- "google"
- "hasta"
- "hebbe"
2022-09-14 13:34:27 +00:00
- "hki"
2022-03-17 23:33:31 +00:00
- "icr_davros"
- "ifb_core"
- "imperial"
- "jax"
2022-09-22 11:37:45 +00:00
- "ku_sund_dangpu"
2022-03-17 23:33:31 +00:00
- "lugh"
- "marvin"
2022-06-30 09:53:02 +00:00
- "medair"
2022-06-02 14:30:35 +00:00
- "mjolnir_globe"
2022-03-17 23:33:31 +00:00
- "maestro"
- "mpcdf"
- "munin"
- "nu_genomics"
- "nihbiowulf"
- "oist"
- "pasteur"
- "phoenix"
- "prince"
- "rosalind"
- "sage"
2022-03-17 23:33:31 +00:00
- "sahmri"
- "sanger"
- "sbc_sharc"
2022-03-17 23:33:31 +00:00
- "seg_globe"
- "uct_hpc"
- "unibe_ibu"
- "uppmax"
- "utd_ganymede"
- "utd_sysbio"
- "uzh"
- "vai"
2022-05-20 07:33:43 +00:00
- "vsc_ugent"
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
2022-03-17 23:33:31 +00:00
run: nextflow run ${GITHUB_WORKSPACE}/configtest.nf -profile ${{ matrix.profile }}