forked from madminer-tool/madminer-jupyter-env
-
Notifications
You must be signed in to change notification settings - Fork 0
139 lines (119 loc) · 4.5 KB
/
test.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
name: Test
on:
pull_request:
push:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and export
uses: docker/build-push-action@v6
with:
tags: madminer-jupyter-env:latest
outputs: type=docker,dest=/tmp/image.tar
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Upload the image as an artifact
uses: actions/upload-artifact@v4
with:
name: image
path: /tmp/image.tar
tutorial_particle_physics_1:
needs: build
uses: ./.github/workflows/run-tutorial-notebook-in-docker.yml
with:
working-directory: examples/tutorial_particle_physics
notebook: 1_setup.ipynb
artifacts: data/setup.h5
tutorial_particle_physics_2a:
needs: tutorial_particle_physics_1
uses: ./.github/workflows/run-tutorial-notebook-in-docker.yml
with:
working-directory: examples/tutorial_particle_physics
notebook: 2a_parton_level_analysis.ipynb
artifacts: data/lhe_data.h5 data/lhe_data_shuffled.h5
tutorial_particle_physics_2b:
needs: tutorial_particle_physics_1
uses: ./.github/workflows/run-tutorial-notebook-in-docker.yml
with:
working-directory: examples/tutorial_particle_physics
notebook: 2a_parton_level_analysis.ipynb
artifacts: data/delphes_data.h5 data/delphes_data_shuffled.h5
tutorial_particle_physics_3a:
needs: tutorial_particle_physics_2a
uses: ./.github/workflows/run-tutorial-notebook-in-docker.yml
with:
working-directory: examples/tutorial_particle_physics
notebook: 3a_likelihood_ratio.ipynb
tutorial_particle_physics_3b:
needs: tutorial_particle_physics_2a
uses: ./.github/workflows/run-tutorial-notebook-in-docker.yml
with:
working-directory: examples/tutorial_particle_physics
notebook: 3b_score.ipynb
tutorial_particle_physics_3c:
needs: tutorial_particle_physics_2a
uses: ./.github/workflows/run-tutorial-notebook-in-docker.yml
with:
working-directory: examples/tutorial_particle_physics
notebook: 3c_likelihood.ipynb
tutorial_particle_physics_4a:
needs: [tutorial_particle_physics_3a, tutorial_particle_physics_3b]
uses: ./.github/workflows/run-tutorial-notebook-in-docker.yml
with:
working-directory: examples/tutorial_particle_physics
notebook: 4a_limits.ipynb
tutorial_particle_physics_4b:
needs: tutorial_particle_physics_2a
uses: ./.github/workflows/run-tutorial-notebook-in-docker.yml
with:
working-directory: examples/tutorial_particle_physics
notebook: 4b_fisher_information.ipynb
tutorial_particle_physics_4c:
needs: tutorial_particle_physics_2a
uses: ./.github/workflows/run-tutorial-notebook-in-docker.yml
with:
working-directory: examples/tutorial_particle_physics
notebook: 4c_information_geometry.ipynb
tutorial_particle_physics_a1:
needs: tutorial_particle_physics_1
uses: ./.github/workflows/run-tutorial-notebook-in-docker.yml
with:
working-directory: examples/tutorial_particle_physics
notebook: A1_systematic_uncertainties.ipynb
artifacts: data/lhe_data_systematics.h5
tutorial_particle_physics_a2:
needs: build
uses: ./.github/workflows/run-tutorial-notebook-in-docker.yml
with:
working-directory: examples/tutorial_particle_physics
notebook: A2_ensemble_methods.ipynb
tutorial_particle_physics_a3:
needs: tutorial_particle_physics_1
uses: ./.github/workflows/run-tutorial-notebook-in-docker.yml
with:
working-directory: examples/tutorial_particle_physics
notebook: A3_reweighting_existing_samples.ipynb
tutorial_particle_physics_a4:
needs: tutorial_particle_physics_2a
uses: ./.github/workflows/run-tutorial-notebook-in-docker.yml
with:
working-directory: examples/tutorial_particle_physics
notebook: A4_lh_nosyst.ipynb
tutorial_particle_physics_a5:
needs: tutorial_particle_physics_a1
uses: ./.github/workflows/run-tutorial-notebook-in-docker.yml
with:
working-directory: examples/tutorial_particle_physics
notebook: A5_test_new_likelihood_module.ipynb
tutorial_particle_physics_a6:
needs: build
uses: ./.github/workflows/run-tutorial-notebook-in-docker.yml
with:
working-directory: examples/tutorial_particle_physics
notebook: A6_finite_differences.ipynb