Repository navigation
develop: Release v0.7.0 (#2555) * Add tarek orcid * Move python version into github subdirectory * Update gitignore * Add note about test file * Draft release notes * Test debug macros in codecov * WIP: update release notes * Update release notes * Add to toctree * Update docs and fix pdf build due to unicode error * DEFER: orange shift * DEFER: move python version and add check #1367
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 tests and pages deployment when publishing develop/backport branches. | |
| #-----------------------------------------------------------------------------# | |
| name: push | |
| # Run name renders as `{branch}: {head commit subject and body}` | |
| run-name: >- | |
| ${{github.ref_name}}: ${{github.event.head_commit.message}} | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| - backports/** | |
| workflow_dispatch: {} # Allow manual invocation for testing when not using CELER_CI | |
| concurrency: | |
| group: push-${{github.ref_name}}-${{github.run_number}} | |
| cancel-in-progress: true | |
| jobs: | |
| check-ci-vars: | |
| # See https://github.com/celeritas-project/celeritas/settings/variables/actions | |
| # or https://github.com/{user}/celeritas/settings/variables/actions | |
| # This should be set to a "truthy" value for celeritas-project and any fork that | |
| # wants to do regular testing. | |
| name: Check CELER_CI variable | |
| if: ${{ vars.CELER_CI || github.event_name == 'workflow_dispatch' }} | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Success | |
| run: | | |
| echo "Running on repository ${{ github.repository }}" | |
| build-pages: | |
| # NOTE: replaces build-docs because it includes jekyll from a separate branch | |
| needs: [check-ci-vars] | |
| uses: ./.github/workflows/build-pages.yml | |
| secrets: inherit | |
| build-fast: | |
| needs: [check-ci-vars] | |
| uses: ./.github/workflows/build-fast.yml | |
| build-ultralite: | |
| needs: [check-ci-vars] | |
| uses: ./.github/workflows/build-ultralite.yml | |
| build-spack: | |
| needs: [check-ci-vars] | |
| uses: ./.github/workflows/build-spack.yml | |
| build-spack-extra: | |
| needs: [check-ci-vars] | |
| uses: ./.github/workflows/build-spack-extra.yml | |
| build-docker: | |
| needs: [check-ci-vars] | |
| uses: ./.github/workflows/build-docker.yml | |
| build-codecov: | |
| needs: [check-ci-vars] | |
| uses: ./.github/workflows/build-codecov.yml | |
| secrets: inherit | |
| build-regression: | |
| needs: [check-ci-vars] | |
| uses: ./.github/workflows/build-regression.yml | |
| deploy-pages: | |
| if: ${{ github.ref == 'refs/heads/develop' }} | |
| needs: [build-pages] | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| contents: read | |
| deployments: write | |
| pages: write | |
| id-token: write | |
| steps: | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v5 | |
| environment: | |
| name: github-pages | |
| url: ${{steps.deployment.outputs.page_url}} | |
| # vim: set nowrap tw=100: |