-
Notifications
You must be signed in to change notification settings - Fork 273
181 lines (175 loc) · 4.33 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
name: Configs tests
on: [pull_request, push]
# Cancel if a newer run is started
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test_all_profiles:
runs-on: ubuntu-latest
name: Check if all profiles are tested
steps:
- uses: actions/checkout@v4
- 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@v4
- 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"
- "arcc"
- "aws_tower"
- "awsbatch"
- "azurebatch"
- "bi"
- "bigpurple"
- "bih"
- "binac"
- "biohpc_gen"
- "biowulf"
- "bluebear"
- "cambridge"
- "cbe"
- "ccga_dx"
- "ccga_med"
- "ceci_dragon2"
- "ceci_nic5"
- "cedars"
- "ceres"
- "cfc"
- "cfc_dev"
- "cheaha"
- "computerome"
- "create"
- "crg"
- "crick"
- "crukmi"
- "csiro_petrichor"
- "daisybio"
- "denbi_qbic"
- "dkfz"
- "ebc"
- "ebi_codon"
- "ebi_codon_slurm"
- "eddie"
- "embl_hd"
- "engaging"
- "einstein"
- "ethz_euler"
- "eva"
- "fgcz"
- "fub_curta"
- "genotoul"
- "genouest"
- "giga"
- "gis"
- "google"
- "googlebatch"
- "googlels"
- "hasta"
- "hki"
- "hypatia"
- "icr_davros"
- "ifb_core"
- "imb"
- "ilifu"
- "imperial"
- "incliva"
- "ipop_up"
- "janelia"
- "jax"
- "jex"
- "ku_sund_danhead"
- "leicester"
- "lugh"
- "m3c"
- "maestro"
- "mana"
- "marjorie"
- "marvin"
- "mccleary"
- "medair"
- "mjolnir_globe"
- "mpcdf"
- "mpcdf_viper"
- "munin"
- "nci_gadi"
- "nu_genomics"
- "nygc"
- "nyu_hpc"
- "oist"
- "pasteur"
- "pawsey_nimbus"
- "pawsey_setonix"
- "pdc_kth"
- "pe2"
- "phoenix"
- "psmn"
- "qmul_apocrita"
- "rosalind"
- "rosalind_uge"
- "roslin"
- "sage"
- "sahmri"
- "sanger"
- "scw"
- "seawulf"
- "seg_globe"
- "self_hosted_runner"
- "shu_bmrc"
- "software_license"
- "stjude"
- "tes"
- "tigem"
- "tubingen_apg"
- "tufts"
- "tuos_stanage"
- "ucl_cscluster"
- "ucl_myriad"
- "uct_hpc"
- "ucd_sonic"
- "uge"
- "unibe_ibu"
- "unc_lccc"
- "unc_longleaf"
- "uod_hpc"
- "uppmax"
- "utd_ganymede"
- "uw_hyak_pedslabs"
- "uzh"
- "uzl_omics"
- "vai"
- "vsc_calcua"
- "vsc_kul_uhasselt"
- "vsc_ugent"
- "wehi"
- "wustl_htcf"
- "xanadu"
- "york_viking"
steps:
- uses: actions/checkout@v4
- name: Install Nextflow
uses: nf-core/setup-nextflow@v2
with:
version: "latest-everything"
- name: Check ${{ matrix.profile }} profile
env:
SCRATCH: "~"
NXF_GLOBAL_CONFIG: awsbatch.config
run: nextflow run ${GITHUB_WORKSPACE}/configtest.nf -profile ${{ matrix.profile }}