Merge pull request #565 from JoseEspinosa/update_crg_config #1897
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
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: | |
runs-on: ubuntu-latest | |
name: Run ${{ matrix.profile }} profile | |
needs: test_all_profiles | |
strategy: | |
matrix: | |
profile: | |
- "abims" | |
- "adcra" | |
- "alice" | |
- "apollo" | |
- "aws_tower" | |
- "awsbatch" | |
- "azurebatch" | |
- "bi" | |
- "bigpurple" | |
- "binac" | |
- "biohpc_gen" | |
- "biowulf" | |
- "cambridge" | |
- "cbe" | |
- "ccga_dx" | |
- "ccga_med" | |
- "cedars" | |
- "ceres" | |
- "cfc" | |
- "cfc_dev" | |
- "cheaha" | |
- "computerome" | |
- "crg" | |
- "crick" | |
- "crukmi" | |
- "denbi_qbic" | |
- "dkfz" | |
- "ebc" | |
- "ebi_codon" | |
- "ebi_codon_slurm" | |
- "eddie" | |
- "engaging" | |
- "ethz_euler" | |
- "eva" | |
- "fgcz" | |
- "fub_curta" | |
- "genotoul" | |
- "genouest" | |
- "gis" | |
- "google" | |
- "googlebatch" | |
- "googlels" | |
- "hasta" | |
- "hki" | |
- "hypatia" | |
- "icr_davros" | |
- "ifb_core" | |
- "imperial" | |
- "incliva" | |
- "ipop_up" | |
- "janelia" | |
- "jax" | |
- "ku_sund_dangpu" | |
- "leicester" | |
- "lugh" | |
- "maestro" | |
- "mana" | |
- "marvin" | |
- "medair" | |
- "mjolnir_globe" | |
- "mpcdf" | |
- "munin" | |
- "nci_gadi" | |
- "nu_genomics" | |
- "oist" | |
- "pasteur" | |
- "pawsey_nimbus" | |
- "phoenix" | |
- "prince" | |
- "psmn" | |
- "rosalind" | |
- "rosalind_uge" | |
- "sage" | |
- "sahmri" | |
- "sanger" | |
- "scw" | |
- "seawulf" | |
- "seg_globe" | |
- "software_license" | |
- "tigem" | |
- "tubingen_apg" | |
- "tuos_stanage" | |
- "ucl_myriad" | |
- "uct_hpc" | |
- "ucd_sonic" | |
- "uge" | |
- "unibe_ibu" | |
- "unc_lccc" | |
- "uppmax" | |
- "utd_ganymede" | |
- "utd_sysbio" | |
- "uw_hyak_pedslabs" | |
- "uzh" | |
- "vai" | |
- "vsc_kul_uhasselt" | |
- "vsc_ugent" | |
- "wehi" | |
- "wustl_htcf" | |
- "xanadu" | |
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: "~" | |
NXF_GLOBAL_CONFIG: awsbatch.config | |
run: nextflow run ${GITHUB_WORKSPACE}/configtest.nf -profile ${{ matrix.profile }} |