-
Notifications
You must be signed in to change notification settings - Fork 32
57 lines (45 loc) · 2.52 KB
/
testsuite_allprocesses.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
# Copyright (C) 2020-2023 CERN and UCLouvain.
# Licensed under the GNU Lesser General Public License (version 3 or later).
# Created by: A. Valassi (Nov 2023) for the MG5aMC CUDACPP plugin.
# Further modified by: A. Valassi (2023) for the MG5aMC CUDACPP plugin.
#----------------------------------------------------------------------------------------------------------------------------------
name: Test all processes
#----------------------------------------------------------------------------------------------------------------------------------
on:
# Enable the possibility to manually trigger the all-processes workflow
workflow_dispatch:
# Trigger the all-processes workflow for pull requests to master
pull_request:
branches: [ master ]
# Trigger the all-processes workflow when new changes to the workflow are pushed
push:
paths: [ .github/workflows/testsuite* ]
#----------------------------------------------------------------------------------------------------------------------------------
jobs:
# See https://stackoverflow.com/a/75337311
oneprocess_pr:
strategy:
fail-fast: false # important to see all results even if one fails (fail-fast is true by default)
matrix:
# FIXME? Can the list of supported processes be specified only once in oneprocess.yml or allprocesses.yml?
process: [ee_mumu, gg_tt, gg_ttg, gg_ttgg, gg_ttggg, gg_tt01g, gq_ttq, pp_tt012j]
suffix: [mad, sa]
uses: ./.github/workflows/testsuite_oneprocess.yml
with:
process: ${{ matrix.process }}.${{ matrix.suffix }}
# By default, in allprocesses tests enable FPE tests when pushing, but not in pull requests
enableFPE: github.event_name != 'pull_request'
# See https://stackoverflow.com/a/75337311
oneprocess_push:
strategy:
fail-fast: false # important to see all results even if one fails (fail-fast is true by default)
matrix:
# FIXME? Can the list of supported processes be specified only once in oneprocess.yml or allprocesses.yml?
process: [ee_mumu, gg_tt, gg_ttg, gg_ttgg, gg_ttggg, gg_tt01g, gq_ttq, pp_tt012j]
suffix: [mad, sa]
uses: ./.github/workflows/testsuite_oneprocess.yml
with:
process: ${{ matrix.process }}.${{ matrix.suffix }}
# By default, in allprocesses tests enable FPE tests when pushing, but not in pull requests
enableFPE: ${{ github.event_name }} != 'pull_request'
#----------------------------------------------------------------------------------------------------------------------------------