(CE-analysis) adapt bound_mass subroutine for variable composition #392
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
| name: pr | |
| on: | |
| pull_request: | |
| branches: [ main,master ] | |
| paths-ignore: | |
| - 'docs/**' | |
| - 'README.md' | |
| concurrency: | |
| group: ci-${{github.ref}}-${{github.event.pull_request.number || github.run_number}} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| uses: ./.github/workflows/build.yml | |
| test: | |
| uses: ./.github/workflows/test.yml | |
| mpi: | |
| uses: ./.github/workflows/mpi.yml | |
| mcfost: | |
| uses: ./.github/workflows/mcfost.yml | |
| binary: | |
| uses: ./.github/workflows/binary.yml | |
| growth: | |
| uses: ./.github/workflows/growth.yml | |
| krome: | |
| uses: ./.github/workflows/krome.yml | |
| coolingra: | |
| uses: ./.github/workflows/coolingra.yml | |
| summary: | |
| # This name matches the branch protection requirement | |
| name: summary | |
| needs: [build, test, mpi, mcfost, binary, growth, krome, coolingra] | |
| if: success() || failure() && github.event_name == 'pull_request' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check all jobs succeeded | |
| run: | | |
| if [[ "${{ needs.build.result }}" == "success" ]]; then | |
| echo "All build jobs succeeded" | |
| else | |
| echo "At least one job failed" | |
| exit 1 | |
| fi | |
| if [[ "${{ needs.test.result }}" == "success" ]]; then | |
| echo "All test jobs succeeded" | |
| else | |
| echo "At least one test failed" | |
| exit 1 | |
| fi | |
| if [[ "${{ needs.mpi.result }}" == "success" ]]; then | |
| echo "All MPI jobs succeeded" | |
| else | |
| echo "At least one MPI test failed" | |
| exit 1 | |
| fi | |
| if [[ "${{ needs.mcfost.result }}" == "success" ]]; then | |
| echo "All McFost jobs succeeded" | |
| else | |
| echo "At least one McFost test failed" | |
| exit 1 | |
| fi | |
| if [[ "${{ needs.growth.result }}" == "success" ]]; then | |
| echo "All growth jobs succeeded" | |
| else | |
| echo "At least one growth test failed" | |
| exit 1 | |
| fi | |
| if [[ "${{ needs.binary.result }}" == "success" ]]; then | |
| echo "All binary jobs succeeded" | |
| else | |
| echo "At least one binary test failed" | |
| exit 1 | |
| fi | |
| if [[ "${{ needs.krome.result }}" == "success" ]]; then | |
| echo "All Krome jobs succeeded" | |
| else | |
| echo "At least one Krome test failed" | |
| exit 1 | |
| fi | |
| if [[ "${{ needs.coolingra.result }}" == "success" ]]; then | |
| echo "Rad cooling approx jobs succeeded" | |
| else | |
| echo "At least one rad cooling approx test failed" | |
| exit 1 | |
| fi | |
| echo "All tests succeeded" |