add flow-over-heated-plate/fluid-openfoam-basicReactingMultiphaseClou… #184
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: System tests (PR) | |
| on: | |
| pull_request: | |
| types: [labeled] | |
| jobs: | |
| gather-refs: | |
| name: Map Git branches to latest refs | |
| if: ${{ github.event.label.name == 'trigger-system-tests' }} | |
| runs-on: ubuntu-latest | |
| outputs: | |
| ref-precice: ${{ steps.ref-precice.outputs.shorthash }} | |
| ref-python-bindings: ${{ steps.ref-python-bindings.outputs.shorthash }} | |
| ref-calculix-adapter: ${{ steps.ref-calculix-adapter.outputs.shorthash }} | |
| ref-dumux-adapter: ${{ steps.ref-dumux-adapter.outputs.shorthash }} | |
| ref-fenics-adapter: ${{ steps.ref-fenics-adapter.outputs.shorthash }} | |
| ref-fenicsx-adapter: ${{ steps.ref-fenicsx-adapter.outputs.shorthash }} | |
| ref-micro-manager: ${{ steps.ref-micro-manager.outputs.shorthash }} | |
| ref-openfoam-adapter: ${{ steps.ref-openfoam-adapter.outputs.shorthash }} | |
| ref-su2-adapter: ${{ steps.ref-su2-adapter.outputs.shorthash }} | |
| steps: | |
| - id: ref-precice | |
| name: Get preCICE ref | |
| uses: nmbgeek/github-action-get-latest-commit@main | |
| with: | |
| owner: precice | |
| repo: precice | |
| branch: develop | |
| - id: ref-python-bindings | |
| name: Get Python bindings ref | |
| uses: nmbgeek/github-action-get-latest-commit@main | |
| with: | |
| owner: precice | |
| repo: python-bindings | |
| branch: develop | |
| - id: ref-calculix-adapter | |
| name: Get CalculiX adapter ref | |
| uses: nmbgeek/github-action-get-latest-commit@main | |
| with: | |
| owner: precice | |
| repo: calculix-adapter | |
| branch: develop | |
| - id: ref-dumux-adapter | |
| name: Get DuMux adapter ref | |
| uses: nmbgeek/github-action-get-latest-commit@main | |
| with: | |
| owner: precice | |
| repo: dumux-adapter | |
| branch: develop | |
| - id: ref-fenics-adapter | |
| name: Get FEniCS adapter ref | |
| uses: nmbgeek/github-action-get-latest-commit@main | |
| with: | |
| owner: precice | |
| repo: fenics-adapter | |
| branch: develop | |
| - id: ref-fenicsx-adapter | |
| name: Get FEniCSx adapter ref | |
| uses: nmbgeek/github-action-get-latest-commit@main | |
| with: | |
| owner: precice | |
| repo: fenicsx-adapter | |
| branch: develop | |
| - id: ref-micro-manager | |
| name: Get Micro-Manager ref | |
| uses: nmbgeek/github-action-get-latest-commit@main | |
| with: | |
| owner: precice | |
| repo: micro-manager | |
| branch: develop | |
| - id: ref-openfoam-adapter | |
| name: Get OpenFOAM adapter ref | |
| uses: nmbgeek/github-action-get-latest-commit@main | |
| with: | |
| owner: precice | |
| repo: openfoam-adapter | |
| branch: develop | |
| - id: ref-su2-adapter | |
| name: Get SU2 adapter ref | |
| uses: nmbgeek/github-action-get-latest-commit@main | |
| with: | |
| owner: precice | |
| repo: su2-adapter | |
| branch: develop | |
| - id: report-refs | |
| name: Report Git refs | |
| run: | | |
| printf 'preCICE: ${{ steps.ref-precice.outputs.shorthash }}\n ${{ steps.ref-precice.outputs.description }}\n----------\n' | |
| printf 'Python bindings: ${{ steps.ref-python-bindings.outputs.shorthash }}\n ${{ steps.ref-python-bindings.outputs.description }}\n----------\n' | |
| printf 'CalculiX adapter: ${{ steps.ref-calculix-adapter.outputs.shorthash }}\n ${{ steps.ref-calculix-adapter.outputs.description }}\n----------\n' | |
| printf 'DuMux adapter: ${{ steps.ref-dumux-adapter.outputs.shorthash }}\n ${{ steps.ref-dumux-adapter.outputs.description }}\n----------\n' | |
| printf 'FEniCS adapter: ${{ steps.ref-fenics-adapter.outputs.shorthash }}\n ${{ steps.ref-fenics-adapter.outputs.description }}\n----------\n' | |
| printf 'FEniCSx adapter: ${{ steps.ref-fenicsx-adapter.outputs.shorthash }}\n ${{ steps.ref-fenicsx-adapter.outputs.description }}\n----------\n' | |
| printf 'Micro-Manager: ${{ steps.ref-micro-manager.outputs.shorthash }}\n ${{ steps.ref-micro-manager.outputs.description }}\n----------\n' | |
| printf 'OpenFOAM adapter: ${{ steps.ref-openfoam-adapter.outputs.shorthash }} ${{ steps.ref-openfoam-adapter.outputs.description }}\n----------\n' | |
| printf 'SU2 adapter: ${{ steps.ref-su2-adapter.outputs.shorthash }}\n ${{ steps.ref-su2-adapter.outputs.description }}\n----------\n' | |
| - id: summary | |
| name: Prepare Markdown summary | |
| run: | | |
| { | |
| echo "## Git references of latest (develop) components" | |
| echo "### preCICE" | |
| echo "Reference: [\`${{ steps.ref-precice.outputs.shorthash }}\`](https://github.com/precice/precice/commit/${{ steps.ref-precice.outputs.shorthash }})" | |
| echo "Description:" | |
| echo "\`\`\`" | |
| echo "${{ steps.ref-precice.outputs.description }}" | |
| echo "\`\`\`" | |
| echo "### Python bindings" | |
| echo "Reference: [\`${{ steps.ref-python-bindings.outputs.shorthash }}\`](https://github.com/precice/python-bindings/commit/${{ steps.ref-python-bindings.outputs.shorthash }})" | |
| echo "Description:" | |
| echo "\`\`\`" | |
| echo "${{ steps.ref-python-bindings.outputs.description }}" | |
| echo "\`\`\`" | |
| echo "### CalculiX adapter" | |
| echo "Reference: [\`${{ steps.ref-calculix-adapter.outputs.shorthash }}\`](https://github.com/precice/calculix-adapter/commit/${{ steps.ref-calculix-adapter.outputs.shorthash }})" | |
| echo "Description:" | |
| echo "\`\`\`" | |
| echo "${{ steps.ref-calculix-adapter.outputs.description }}" | |
| echo "\`\`\`" | |
| echo "### DuMux adapter" | |
| echo "Reference: [\`${{ steps.ref-dumux-adapter.outputs.shorthash }}\`](https://github.com/precice/dumux-adapter/commit/${{ steps.ref-dumux-adapter.outputs.shorthash }})" | |
| echo "Description:" | |
| echo "\`\`\`" | |
| echo "${{ steps.ref-dumux-adapter.outputs.description }}" | |
| echo "\`\`\`" | |
| echo "### FEniCS adapter" | |
| echo "Reference: [\`${{ steps.ref-fenics-adapter.outputs.shorthash }}\`](https://github.com/precice/fenics-adapter/commit/${{ steps.ref-fenics-adapter.outputs.shorthash }})" | |
| echo "Description:" | |
| echo "\`\`\`" | |
| echo "${{ steps.ref-fenics-adapter.outputs.description }}" | |
| echo "\`\`\`" | |
| echo "### FEniCSx adapter" | |
| echo "Reference: [\`${{ steps.ref-fenicsx-adapter.outputs.shorthash }}\`](https://github.com/precice/fenicsx-adapter/commit/${{ steps.ref-fenicsx-adapter.outputs.shorthash }})" | |
| echo "Description:" | |
| echo "\`\`\`" | |
| echo "${{ steps.ref-fenicsx-adapter.outputs.description }}" | |
| echo "\`\`\`" | |
| echo "### Micro-Manager" | |
| echo "Reference: [\`${{ steps.ref-micro-manager.outputs.shorthash }}\`](https://github.com/precice/micro-manager/commit/${{ steps.ref-micro-manager.outputs.shorthash }})" | |
| echo "Description:" | |
| echo "\`\`\`" | |
| echo "${{ steps.ref-micro-manager.outputs.description }}" | |
| echo "\`\`\`" | |
| echo "### OpenFOAM adapter" | |
| echo "Reference: [\`${{ steps.ref-openfoam-adapter.outputs.shorthash }}\`](https://github.com/precice/openfoam-adapter/commit/${{ steps.ref-openfoam-adapter.outputs.shorthash }})" | |
| echo "Description:" | |
| echo "\`\`\`" | |
| echo "${{ steps.ref-openfoam-adapter.outputs.description }}" | |
| echo "\`\`\`" | |
| echo "### SU2 adapter" | |
| echo "Reference: [\`${{ steps.ref-su2-adapter.outputs.shorthash }}\`](https://github.com/precice/su2-adapter/commit/${{ steps.ref-su2-adapter.outputs.shorthash }})" | |
| echo "Description:" | |
| echo "\`\`\`" | |
| echo "${{ steps.ref-su2-adapter.outputs.description }}" | |
| echo "\`\`\`" | |
| echo "### Tutorials" | |
| echo "Reference (pull request): \`${{ github.event.pull_request.head.sha }}\`" | |
| echo "Pull request number: [${{ github.event.number }}](https://github.com/precice/tutorials/pull/${{ github.event.number }})" | |
| } >> "$GITHUB_STEP_SUMMARY" | |
| run-system-tests: | |
| name: Trigger system tests | |
| if: ${{ github.event.label.name == 'trigger-system-tests' }} | |
| needs: gather-refs | |
| uses: precice/tutorials/.github/workflows/run_testsuite_workflow.yml@develop | |
| with: | |
| suites: release | |
| build_args: "PLATFORM:ubuntu_2404,\ | |
| PRECICE_REF:${{ needs.gather-refs.outputs.ref-precice }},\ | |
| PYTHON_BINDINGS_REF:${{ needs.gather-refs.outputs.ref-python-bindings }},\ | |
| CALCULIX_ADAPTER_REF:${{ needs.gather-refs.outputs.ref-calculix-adapter }},\ | |
| DUMUX_ADAPTER_REF:${{ needs.gather-refs.outputs.ref-dumux-adapter }},\ | |
| FENICS_ADAPTER_REF:${{ needs.gather-refs.outputs.ref-fenics-adapter }},\ | |
| FENICSX_ADAPTER_REF:${{ needs.gather-refs.outputs.ref-fenicsx-adapter }},\ | |
| MICRO_MANAGER_REF:${{ needs.gather-refs.outputs.ref-micro-manager }},\ | |
| OPENFOAM_ADAPTER_REF:${{ needs.gather-refs.outputs.ref-openfoam-adapter }},\ | |
| SU2_ADAPTER_REF:${{ needs.gather-refs.outputs.ref-su2-adapter }},\ | |
| TUTORIALS_PR:${{ github.event.number }},\ | |
| TUTORIALS_REF:${{ github.event.pull_request.head.sha }}" | |
| system_tests_branch: develop | |
| log_level: "INFO" |