fix: overwrite log #4
Workflow file for this run
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: Test notebooks | |
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 | |
if: ${{ !cancelled() && !failure() }} | |
uses: ./.github/workflows/run-tutorial-notebook.yml | |
with: | |
working-directory: examples/tutorial_particle_physics | |
notebook: 1_setup.ipynb | |
outputs: data/setup.h5 | |
tutorial_particle_physics_2a: | |
needs: tutorial_particle_physics_1 | |
if: ${{ !cancelled() && !failure() }} | |
uses: ./.github/workflows/run-tutorial-notebook.yml | |
with: | |
working-directory: examples/tutorial_particle_physics | |
notebook: 2a_parton_level_analysis.ipynb | |
outputs: data/lhe_data.h5 data/lhe_data_shuffled.h5 | |
tutorial_particle_physics_2b: | |
needs: tutorial_particle_physics_1 | |
if: ${{ !cancelled() && !failure() }} | |
uses: ./.github/workflows/run-tutorial-notebook.yml | |
with: | |
working-directory: examples/tutorial_particle_physics | |
notebook: 2a_parton_level_analysis.ipynb | |
outputs: data/delphes_data.h5 data/delphes_data_shuffled.h5 | |
tutorial_particle_physics_3a: | |
needs: tutorial_particle_physics_2a | |
if: ${{ !cancelled() && !failure() }} | |
uses: ./.github/workflows/run-tutorial-notebook.yml | |
with: | |
working-directory: examples/tutorial_particle_physics | |
notebook: 3a_likelihood_ratio.ipynb | |
tutorial_particle_physics_3b: | |
needs: tutorial_particle_physics_2a | |
if: ${{ !cancelled() && !failure() }} | |
uses: ./.github/workflows/run-tutorial-notebook.yml | |
with: | |
working-directory: examples/tutorial_particle_physics | |
notebook: 3b_score.ipynb | |
tutorial_particle_physics_3c: | |
needs: tutorial_particle_physics_2a | |
if: ${{ !cancelled() && !failure() }} | |
uses: ./.github/workflows/run-tutorial-notebook.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] | |
if: ${{ !cancelled() && !failure() }} | |
uses: ./.github/workflows/run-tutorial-notebook.yml | |
with: | |
working-directory: examples/tutorial_particle_physics | |
notebook: 4a_limits.ipynb | |
tutorial_particle_physics_4b: | |
needs: tutorial_particle_physics_2a | |
if: ${{ !cancelled() && !failure() }} | |
uses: ./.github/workflows/run-tutorial-notebook.yml | |
with: | |
working-directory: examples/tutorial_particle_physics | |
notebook: 4b_fisher_information.ipynb | |
tutorial_particle_physics_4c: | |
needs: tutorial_particle_physics_2a | |
if: ${{ !cancelled() && !failure() }} | |
uses: ./.github/workflows/run-tutorial-notebook.yml | |
with: | |
working-directory: examples/tutorial_particle_physics | |
notebook: 4c_information_geometry.ipynb | |
tutorial_particle_physics_a1: | |
needs: tutorial_particle_physics_1 | |
if: ${{ !cancelled() && !failure() }} | |
uses: ./.github/workflows/run-tutorial-notebook.yml | |
with: | |
working-directory: examples/tutorial_particle_physics | |
notebook: A1_systematic_uncertainties.ipynb | |
outputs: data/lhe_data_systematics.h5 | |
tutorial_particle_physics_a2: | |
needs: build | |
if: ${{ !cancelled() && !failure() }} | |
uses: ./.github/workflows/run-tutorial-notebook.yml | |
with: | |
working-directory: examples/tutorial_particle_physics | |
notebook: A2_ensemble_methods.ipynb | |
tutorial_particle_physics_a3: | |
needs: tutorial_particle_physics_1 | |
if: ${{ !cancelled() && !failure() }} | |
uses: ./.github/workflows/run-tutorial-notebook.yml | |
with: | |
working-directory: examples/tutorial_particle_physics | |
notebook: A3_reweighting_existing_samples.ipynb | |
tutorial_particle_physics_a4: | |
needs: tutorial_particle_physics_2a | |
if: ${{ !cancelled() && !failure() }} | |
uses: ./.github/workflows/run-tutorial-notebook.yml | |
with: | |
working-directory: examples/tutorial_particle_physics | |
notebook: A4_lh_nosyst.ipynb | |
tutorial_particle_physics_a5: | |
needs: tutorial_particle_physics_a1 | |
if: ${{ !cancelled() && !failure() }} | |
uses: ./.github/workflows/run-tutorial-notebook.yml | |
with: | |
working-directory: examples/tutorial_particle_physics | |
notebook: A5_test_new_likelihood_module.ipynb | |
tutorial_particle_physics_a6: | |
needs: build | |
if: ${{ !cancelled() && !failure() }} | |
uses: ./.github/workflows/run-tutorial-notebook.yml | |
with: | |
working-directory: examples/tutorial_particle_physics | |
notebook: A6_finite_differences.ipynb |