1+ name : System tests (latest components)
2+
3+ on :
4+ schedule :
5+ - cron : " 0 4 * * *"
6+ workflow_dispatch :
7+
8+ jobs :
9+ gather-refs :
10+ name : Map Git branches to latest refs
11+ if : ${{ github.event.label.name == 'trigger-system-tests' }}
12+ runs-on : ubuntu-latest
13+ outputs :
14+ ref-precice : ${{ steps.ref-precice.outputs.shorthash }}
15+ ref-python-bindings : ${{ steps.ref-python-bindings.outputs.shorthash }}
16+ ref-calculix-adapter : ${{ steps.ref-calculix-adapter.outputs.shorthash }}
17+ ref-fenics-adapter : ${{ steps.ref-fenics-adapter.outputs.shorthash }}
18+ ref-openfoam-adapter : ${{ steps.ref-openfoam-adapter.outputs.shorthash }}
19+ ref-su2-adapter : ${{ steps.ref-su2-adapter.outputs.shorthash }}
20+ ref-tutorials : ${{ steps.ref-tutorials.outputs.shorthash }}
21+ steps :
22+ - id : ref-precice
23+ name : Get preCICE ref
24+ uses : nmbgeek/github-action-get-latest-commit@main
25+ with :
26+ owner : precice
27+ repo : precice
28+ branch : develop
29+ - id : ref-python-bindings
30+ name : Get Python bindings ref
31+ uses : nmbgeek/github-action-get-latest-commit@main
32+ with :
33+ owner : precice
34+ repo : python-bindings
35+ branch : develop
36+ - id : ref-calculix-adapter
37+ name : Get CalculiX adapter ref
38+ uses : nmbgeek/github-action-get-latest-commit@main
39+ with :
40+ owner : precice
41+ repo : calculix-adapter
42+ branch : develop
43+ - id : ref-fenics-adapter
44+ name : Get FEniCS adapter ref
45+ uses : nmbgeek/github-action-get-latest-commit@main
46+ with :
47+ owner : precice
48+ repo : fenics-adapter
49+ branch : develop
50+ - id : ref-openfoam-adapter
51+ name : Get OpenFOAM adapter ref
52+ uses : nmbgeek/github-action-get-latest-commit@main
53+ with :
54+ owner : precice
55+ repo : openfoam-adapter
56+ branch : develop
57+ - id : ref-su2-adapter
58+ name : Get SU2 adapter ref
59+ uses : nmbgeek/github-action-get-latest-commit@main
60+ with :
61+ owner : precice
62+ repo : su2-adapter
63+ branch : develop
64+ - id : ref-tutorials
65+ name : Get tutorials ref
66+ uses : nmbgeek/github-action-get-latest-commit@main
67+ with :
68+ owner : precice
69+ repo : tutorials
70+ branch : develop
71+ - id : report-refs
72+ name : Report Git refs
73+ run : |
74+ printf 'preCICE: ${{ steps.ref-precice.outputs.shorthash }}\n ${{ steps.ref-precice.outputs.description }}\n----------\n'
75+ printf 'Python bindings: ${{ steps.ref-python-bindings.outputs.shorthash }}\n ${{ steps.ref-python-bindings.outputs.description }}\n----------\n'
76+ printf 'CalculiX adapter: ${{ steps.ref-calculix-adapter.outputs.shorthash }}\n ${{ steps.ref-calculix-adapter.outputs.description }}\n----------\n'
77+ printf 'FEniCS adapter: ${{ steps.ref-fenics-adapter.outputs.shorthash }}\n ${{ steps.ref-fenics-adapter.outputs.description }}\n----------\n'
78+ printf 'OpenFOAM adapter: ${{ steps.ref-openfoam-adapter.outputs.shorthash }} ${{ steps.ref-openfoam-adapter.outputs.description }}\n----------\n'
79+ printf 'SU2 adapter: ${{ steps.ref-su2-adapter.outputs.shorthash }}\n ${{ steps.ref-su2-adapter.outputs.description }}\n----------\n'
80+ printf 'Tutorials: ${{ steps.ref-tutorials.outputs.shorthash }} ${{ steps.ref-tutorials.outputs.description }}\n----------\n'
81+
82+ run-system-tests :
83+ name : Trigger system tests
84+ if : ${{ github.event.label.name == 'trigger-system-tests' }}
85+ needs : gather-refs
86+ uses : precice/tutorials/.github/workflows/run_testsuite_workflow.yml@develop
87+ with :
88+ suites : release_test
89+ build_args : " PLATFORM:ubuntu_2404,\
90+ PRECICE_REF:${{ needs.gather-refs.outputs.ref-precice }},\
91+ PYTHON_BINDINGS_REF:${{ needs.gather-refs.outputs.ref-python-bindings }},\
92+ CALCULIX_VERSION:2.20,\
93+ CALCULIX_ADAPTER_REF:${{ needs.gather-refs.outputs.ref-calculix-adapter }},\
94+ FENICS_ADAPTER_REF:${{ needs.gather-refs.outputs.ref-fenics-adapter }},\
95+ OPENFOAM_EXECUTABLE:openfoam2312,\
96+ OPENFOAM_ADAPTER_REF:${{ needs.gather-refs.outputs.ref-openfoam-adapter }},\
97+ SU2_VERSION:7.5.1,\
98+ SU2_ADAPTER_REF:${{ needs.gather-refs.outputs.ref-su2-adapter }},\
99+ TUTORIALS_REF:${{ needs.gather-refs.outputs.ref-tutorials }}"
100+ systests_branch : develop
101+ loglevel : " INFO"
0 commit comments