forked from nf-core/configs
-
Notifications
You must be signed in to change notification settings - Fork 0
129 lines (124 loc) · 3.11 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
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"
- "aws_tower"
- "awsbatch"
- "azurebatch"
- "bi"
- "bigpurple"
- "binac"
- "biohpc_gen"
- "cambridge"
- "cbe"
- "ccga_dx"
- "ccga_med"
- "cedars"
- "ceres"
- "cfc"
- "cfc_dev"
- "cheaha"
- "computerome"
- "crg"
- "crick"
- "crukmi"
- "denbi_qbic"
- "dkfz"
- "ebc"
- "eddie"
- "engaging"
- "eva"
- "fgcz"
- "genotoul"
- "genouest"
- "gis"
- "google"
- "googlebatch"
- "googlels"
- "hasta"
- "hki"
- "icr_davros"
- "ifb_core"
- "imperial"
- "ipop_up"
- "janelia"
- "jax"
- "ku_sund_dangpu"
- "leicester"
- "lugh"
- "maestro"
- "mana"
- "marvin"
- "medair"
- "mjolnir_globe"
- "mpcdf"
- "munin"
- "nihbiowulf"
- "nu_genomics"
- "oist"
- "pasteur"
- "pawsey_nimbus"
- "phoenix"
- "prince"
- "psmn"
- "rosalind"
- "rosalind_uge"
- "sage"
- "sahmri"
- "sanger"
- "sbc_sharc"
- "scw"
- "seawulf"
- "seg_globe"
- "tigem"
- "tubingen_apg"
- "ucl_myriad"
- "uct_hpc"
- "uge"
- "unibe_ibu"
- "uppmax"
- "utd_ganymede"
- "utd_sysbio"
- "uzh"
- "vai"
- "vsc_kul_uhasselt"
- "vsc_ugent"
- "wehi"
- "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 }}