Use correct energy when generating Cherenkov and scintillation photons (#2152) #4138
Workflow file for this run
This file contains hidden or 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
| #-------------------------------- -*- yaml -*- ---------------------------------# | |
| # Copyright Celeritas contributors: see top-level COPYRIGHT file for details | |
| # SPDX-License-Identifier: (Apache-2.0 OR MIT) | |
| #-----------------------------------------------------------------------------# | |
| # Run a series of progressively expensive checks on each pull request | |
| #-----------------------------------------------------------------------------# | |
| name: pull_request | |
| run-name: >- | |
| ${{github.event.pull_request.title}} | |
| (#${{github.event.number}}) | |
| on: | |
| pull_request: | |
| branches: | |
| - develop | |
| - backports/** | |
| paths-ignore: | |
| - '**.rst' | |
| - '**.md' | |
| - 'scripts' | |
| - '.jenkins' | |
| - '!scripts/cmake-presets/ci*' | |
| - '!scripts/ci' | |
| - '!scripts/build.sh' | |
| concurrency: | |
| group: pr-${{github.ref}}-${{github.event.number}}-${{github.workflow}} | |
| cancel-in-progress: true | |
| jobs: | |
| metadata: | |
| name: "Save job metadata" | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| # Event file is needed for EnricoMi/publish-unit-test-result-action | |
| - name: Upload event file | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: event-file | |
| path: ${{github.event_path}} | |
| build-fast: | |
| uses: ./.github/workflows/build-fast.yml | |
| build-ultralite: | |
| uses: ./.github/workflows/build-ultralite.yml | |
| doc: | |
| uses: ./.github/workflows/doc.yml | |
| all-prechecks: | |
| needs: [build-fast, build-ultralite, doc] | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Success | |
| run: "true" | |
| build-docker: | |
| # Since docker builds aren't cached and are large, don't run on draft | |
| if: ${{github.event.pull_request.draft == false}} | |
| needs: [all-prechecks] | |
| uses: ./.github/workflows/build-docker.yml | |
| secrets: | |
| codecov_token: ${{ secrets.CODECOV_TOKEN }} | |
| build-spack: | |
| needs: [all-prechecks] | |
| uses: ./.github/workflows/build-spack.yml | |
| secrets: | |
| codecov_token: ${{ secrets.CODECOV_TOKEN }} | |
| # Specifying a dependent job allows us to select a single "requires" check in the project GitHub settings | |
| all: | |
| if: ${{always()}} | |
| needs: | |
| - build-docker | |
| - build-spack | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Decide whether the needed jobs succeeded or failed | |
| uses: re-actors/alls-green@release/v1 | |
| with: | |
| jobs: ${{toJSON(needs)}} | |
| # vim: set nowrap tw=100: |