From 62950e5167222585436b527baecafbb50d6ec278 Mon Sep 17 00:00:00 2001 From: Gerasimos Chourdakis Date: Fri, 15 May 2026 16:43:35 +0200 Subject: [PATCH 01/12] Update actions/checkout to v6 --- .github/workflows/check-links.yml | 2 +- .github/workflows/check-style.yml | 2 +- .github/workflows/generate_reference_results_workflow.yml | 2 +- .github/workflows/run_testsuite_workflow.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml index f7e0ce616..d4e76a91d 100644 --- a/.github/workflows/check-links.yml +++ b/.github/workflows/check-links.yml @@ -5,7 +5,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out repository - uses: actions/checkout@v2 + uses: actions/checkout@v6 - name: Check links in markdown files (markdown-link-check) uses: gaurav-nelson/github-action-markdown-link-check@v1 with: diff --git a/.github/workflows/check-style.yml b/.github/workflows/check-style.yml index da68887d9..e61ee4aab 100644 --- a/.github/workflows/check-style.yml +++ b/.github/workflows/check-style.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Setup python uses: actions/setup-python@v5 with: diff --git a/.github/workflows/generate_reference_results_workflow.yml b/.github/workflows/generate_reference_results_workflow.yml index 108a4c69d..88773677b 100644 --- a/.github/workflows/generate_reference_results_workflow.yml +++ b/.github/workflows/generate_reference_results_workflow.yml @@ -43,7 +43,7 @@ jobs: rm -rf ./.??* ls -la ./ - name: Check out Tutorials for the system tests (tools/tests/) - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ inputs.from_ref }} lfs: true diff --git a/.github/workflows/run_testsuite_workflow.yml b/.github/workflows/run_testsuite_workflow.yml index d8aa771dc..0897b6278 100644 --- a/.github/workflows/run_testsuite_workflow.yml +++ b/.github/workflows/run_testsuite_workflow.yml @@ -60,7 +60,7 @@ jobs: rm -rf ./.??* ls -la ./ - name: Check out Tutorials for the system tests (tools/tests/) - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: repository: precice/tutorials ref: ${{ inputs.system_tests_branch }} From b7d88cef5a9d591156da5270645b703cccc3539f Mon Sep 17 00:00:00 2001 From: Gerasimos Chourdakis Date: Fri, 15 May 2026 16:50:56 +0200 Subject: [PATCH 02/12] Remove check-links.yml --- .github/workflows/check-links.yml | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 .github/workflows/check-links.yml diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml deleted file mode 100644 index d4e76a91d..000000000 --- a/.github/workflows/check-links.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: Check links (manual) -on: workflow_dispatch -jobs: - check_links: - runs-on: ubuntu-latest - steps: - - name: Check out repository - uses: actions/checkout@v6 - - name: Check links in markdown files (markdown-link-check) - uses: gaurav-nelson/github-action-markdown-link-check@v1 - with: - use-quiet-mode: 'yes' - use-verbose-mode: 'no' - config-file: '.markdown-link-check-config.json' From c97fb99a8ef66203735d938a4ab1ffcf622db5c2 Mon Sep 17 00:00:00 2001 From: Gerasimos Chourdakis Date: Fri, 15 May 2026 16:52:24 +0200 Subject: [PATCH 03/12] Update setup-python action --- .github/workflows/check-style.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-style.yml b/.github/workflows/check-style.yml index e61ee4aab..056fbc5e6 100644 --- a/.github/workflows/check-style.yml +++ b/.github/workflows/check-style.yml @@ -15,7 +15,7 @@ jobs: - name: Checkout the repository uses: actions/checkout@v6 - name: Setup python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '3.10' check-latest: true From 18b5e06aa8ce018465d301c5f787383892a9def5 Mon Sep 17 00:00:00 2001 From: Gerasimos Chourdakis Date: Fri, 15 May 2026 18:33:25 +0200 Subject: [PATCH 04/12] Bump actions/upload-artifact to v7 --- .github/workflows/generate_reference_results_workflow.yml | 4 ++-- .github/workflows/run_testsuite_workflow.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/generate_reference_results_workflow.yml b/.github/workflows/generate_reference_results_workflow.yml index 88773677b..6a2868b05 100644 --- a/.github/workflows/generate_reference_results_workflow.yml +++ b/.github/workflows/generate_reference_results_workflow.yml @@ -86,7 +86,7 @@ jobs: git commit -m "${{inputs.commit_msg}}" git push - name: Archive main log files - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: system_tests_run_${{ github.run_id }}_${{ github.run_attempt }}_reference_logs path: | @@ -95,7 +95,7 @@ jobs: runs/*/*/system-tests_*.log - name: Archive run files if: failure() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: system_tests_run_${{ github.run_id }}_${{ github.run_attempt }}_reference_full path: | diff --git a/.github/workflows/run_testsuite_workflow.yml b/.github/workflows/run_testsuite_workflow.yml index 0897b6278..cc44e2fca 100644 --- a/.github/workflows/run_testsuite_workflow.yml +++ b/.github/workflows/run_testsuite_workflow.yml @@ -78,7 +78,7 @@ jobs: python systemtests.py --build_args=${{ inputs.build_args}} --suites=${{ inputs.suites}} --log-level=${{ inputs.log_level}} cd ../../ - name: Archive main log files - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: system_tests_run_${{ github.run_id }}_${{ github.run_attempt }}_logs path: | @@ -87,7 +87,7 @@ jobs: runs/*/*/system-tests_*.log - name: Archive run files if: ${{ failure() || inputs.upload_artifacts == 'TRUE' }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: system_tests_run_${{ github.run_id }}_${{ github.run_attempt }}_full path: | From 1dd2033443be450fea33610cdfdb3f6c28758345 Mon Sep 17 00:00:00 2001 From: Gerasimos Chourdakis Date: Fri, 15 May 2026 19:35:54 +0200 Subject: [PATCH 05/12] Group-redirect output to GITHUB_STEP_SUMMARY --- .github/workflows/check-style.yml | 16 ++- .github/workflows/run_testsuite_workflow.yml | 24 ++-- .../system-tests-latest-components.yml | 112 +++++++++--------- .github/workflows/system-tests-pr.yml | 106 +++++++++-------- 4 files changed, 134 insertions(+), 124 deletions(-) diff --git a/.github/workflows/check-style.yml b/.github/workflows/check-style.yml index 056fbc5e6..568c46867 100644 --- a/.github/workflows/check-style.yml +++ b/.github/workflows/check-style.yml @@ -26,12 +26,16 @@ jobs: - name: Git status if: always() run: | - echo -e '### Status\n```text' >> $GITHUB_STEP_SUMMARY - git status | tee -a $GITHUB_STEP_SUMMARY - echo '```' >> $GITHUB_STEP_SUMMARY + { + echo -e '### Status\n```text' + git status | tee -a $GITHUB_STEP_SUMMARY + echo '```' + } >> $GITHUB_STEP_SUMMARY - name: Full diff if: always() run: | - echo -e '### Diff\n```diff' >> $GITHUB_STEP_SUMMARY - git diff | tee -a $GITHUB_STEP_SUMMARY - echo '```' >> $GITHUB_STEP_SUMMARY + { + echo -e '### Diff\n```diff' + git diff | tee -a $GITHUB_STEP_SUMMARY + echo '```' + } >> $GITHUB_STEP_SUMMARY diff --git a/.github/workflows/run_testsuite_workflow.yml b/.github/workflows/run_testsuite_workflow.yml index cc44e2fca..0d1e300c2 100644 --- a/.github/workflows/run_testsuite_workflow.yml +++ b/.github/workflows/run_testsuite_workflow.yml @@ -39,17 +39,19 @@ jobs: echo "python3 systemtests.py --build_args=${{inputs.build_args}} --suites=${{ inputs.suites}}" - name: Prepare the Markdown step summary run: | - echo "Job inputs:" >> $GITHUB_STEP_SUMMARY - echo "- Initiated by: @${{ github.actor }}" >> $GITHUB_STEP_SUMMARY - echo "- Test suites: \`${{ inputs.suites}}\`" >> $GITHUB_STEP_SUMMARY - echo "- System tests branch (\`tools/\`): [\`${{ inputs.system_tests_branch }}\`](https://github.com/precice/tutorials/tree/${{ inputs.system_tests_branch }})" >> $GITHUB_STEP_SUMMARY - echo "- System tests log level: \`${{ inputs.log_level }}\`" >> $GITHUB_STEP_SUMMARY - echo "- Uploading the runs folder on success: \`${{ inputs.upload_artifacts }}\`" >> $GITHUB_STEP_SUMMARY - echo "" >> $GITHUB_STEP_SUMMARY - echo "Running the following command inside \`tutorials/tools/\`:" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "python3 systemtests.py --build_args=${{inputs.build_args}} --suites=${{ inputs.suites}}" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY + { + echo "Job inputs:" + echo "- Initiated by: @${{ github.actor }}" + echo "- Test suites: \`${{ inputs.suites}}\`" + echo "- System tests branch (\`tools/\`): [\`${{ inputs.system_tests_branch }}\`](https://github.com/precice/tutorials/tree/${{ inputs.system_tests_branch }})" + echo "- System tests log level: \`${{ inputs.log_level }}\`" + echo "- Uploading the runs folder on success: \`${{ inputs.upload_artifacts }}\`" + echo "" + echo "Running the following command inside \`tutorials/tools/\`:" + echo "\`\`\`" + echo "python3 systemtests.py --build_args=${{inputs.build_args}} --suites=${{ inputs.suites}}" + echo "\`\`\`" + } >> $GITHUB_STEP_SUMMARY - name: Move LFS URL to local LFS server run: | /home/precice/runners_root/scripts/make_lfs_local.sh diff --git a/.github/workflows/system-tests-latest-components.yml b/.github/workflows/system-tests-latest-components.yml index c22853f29..fccd1c23b 100644 --- a/.github/workflows/system-tests-latest-components.yml +++ b/.github/workflows/system-tests-latest-components.yml @@ -98,61 +98,63 @@ jobs: - id: summary name: Prepare Markdown summary run: | - echo "## Git references of latest (develop) components" >> $GITHUB_STEP_SUMMARY - echo "### preCICE" >> $GITHUB_STEP_SUMMARY - echo "Reference: [\`${{ steps.ref-precice.outputs.shorthash }}\`](https://github.com/precice/precice/commit/${{ steps.ref-precice.outputs.shorthash }})" >> $GITHUB_STEP_SUMMARY - echo "Description:" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "${{ steps.ref-precice.outputs.description }}" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "### Python bindings" >> $GITHUB_STEP_SUMMARY - echo "Reference: [\`${{ steps.ref-python-bindings.outputs.shorthash }}\`](https://github.com/precice/python-bindings/commit/${{ steps.ref-python-bindings.outputs.shorthash }})" >> $GITHUB_STEP_SUMMARY - echo "Description:" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "${{ steps.ref-python-bindings.outputs.description }}" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "### CalculiX adapter" >> $GITHUB_STEP_SUMMARY - echo "Reference: [\`${{ steps.ref-calculix-adapter.outputs.shorthash }}\`](https://github.com/precice/calculix-adapter/commit/${{ steps.ref-calculix-adapter.outputs.shorthash }})" >> $GITHUB_STEP_SUMMARY - echo "Description:" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "${{ steps.ref-calculix-adapter.outputs.description }}" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "### DuMux adapter" >> $GITHUB_STEP_SUMMARY - echo "Reference: [\`${{ steps.ref-dumux-adapter.outputs.shorthash }}\`](https://github.com/precice/dumux-adapter/commit/${{ steps.ref-dumux-adapter.outputs.shorthash }})" >> $GITHUB_STEP_SUMMARY - echo "Description:" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "${{ steps.ref-dumux-adapter.outputs.description }}" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "### FEniCS adapter" >> $GITHUB_STEP_SUMMARY - echo "Reference: [\`${{ steps.ref-fenics-adapter.outputs.shorthash }}\`](https://github.com/precice/fenics-adapter/commit/${{ steps.ref-fenics-adapter.outputs.shorthash }})" >> $GITHUB_STEP_SUMMARY - echo "Description:" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "${{ steps.ref-fenics-adapter.outputs.description }}" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "### Micro-Manager" >> $GITHUB_STEP_SUMMARY - echo "Reference: [\`${{ steps.ref-micro-manager.outputs.shorthash }}\`](https://github.com/precice/micro-manager/commit/${{ steps.ref-micro-manager.outputs.shorthash }})" >> $GITHUB_STEP_SUMMARY - echo "Description:" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "${{ steps.ref-micro-manager.outputs.description }}" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "### OpenFOAM adapter" >> $GITHUB_STEP_SUMMARY - echo "Reference: [\`${{ steps.ref-openfoam-adapter.outputs.shorthash }}\`](https://github.com/precice/openfoam-adapter/commit/${{ steps.ref-openfoam-adapter.outputs.shorthash }})" >> $GITHUB_STEP_SUMMARY - echo "Description:" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "${{ steps.ref-openfoam-adapter.outputs.description }}" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "### SU2 adapter" >> $GITHUB_STEP_SUMMARY - echo "Reference: [\`${{ steps.ref-su2-adapter.outputs.shorthash }}\`](https://github.com/precice/su2-adapter/commit/${{ steps.ref-su2-adapter.outputs.shorthash }})" >> $GITHUB_STEP_SUMMARY - echo "Description:" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "${{ steps.ref-su2-adapter.outputs.description }}" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "### Tutorials" >> $GITHUB_STEP_SUMMARY - echo "Reference: [\`${{ steps.ref-tutorials.outputs.shorthash }}\`](https://github.com/precice/tutorials/commit/${{ steps.ref-tutorials.outputs.shorthash }})" >> $GITHUB_STEP_SUMMARY - echo "Description:" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "${{ steps.ref-tutorials.outputs.description }}" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY + { + 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 "### 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: [\`${{ steps.ref-tutorials.outputs.shorthash }}\`](https://github.com/precice/tutorials/commit/${{ steps.ref-tutorials.outputs.shorthash }})" + echo "Description:" + echo "\`\`\`" + echo "${{ steps.ref-tutorials.outputs.description }}" + echo "\`\`\`" + } >> $GITHUB_STEP_SUMMARY run-system-tests: name: Trigger system tests diff --git a/.github/workflows/system-tests-pr.yml b/.github/workflows/system-tests-pr.yml index 8a494de13..b474e4fbc 100644 --- a/.github/workflows/system-tests-pr.yml +++ b/.github/workflows/system-tests-pr.yml @@ -89,58 +89,60 @@ jobs: - id: summary name: Prepare Markdown summary run: | - echo "## Git references of latest (develop) components" >> $GITHUB_STEP_SUMMARY - echo "### preCICE" >> $GITHUB_STEP_SUMMARY - echo "Reference: [\`${{ steps.ref-precice.outputs.shorthash }}\`](https://github.com/precice/precice/commit/${{ steps.ref-precice.outputs.shorthash }})" >> $GITHUB_STEP_SUMMARY - echo "Description:" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "${{ steps.ref-precice.outputs.description }}" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "### Python bindings" >> $GITHUB_STEP_SUMMARY - echo "Reference: [\`${{ steps.ref-python-bindings.outputs.shorthash }}\`](https://github.com/precice/python-bindings/commit/${{ steps.ref-python-bindings.outputs.shorthash }})" >> $GITHUB_STEP_SUMMARY - echo "Description:" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "${{ steps.ref-python-bindings.outputs.description }}" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "### CalculiX adapter" >> $GITHUB_STEP_SUMMARY - echo "Reference: [\`${{ steps.ref-calculix-adapter.outputs.shorthash }}\`](https://github.com/precice/calculix-adapter/commit/${{ steps.ref-calculix-adapter.outputs.shorthash }})" >> $GITHUB_STEP_SUMMARY - echo "Description:" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "${{ steps.ref-calculix-adapter.outputs.description }}" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "### DuMux adapter" >> $GITHUB_STEP_SUMMARY - echo "Reference: [\`${{ steps.ref-dumux-adapter.outputs.shorthash }}\`](https://github.com/precice/dumux-adapter/commit/${{ steps.ref-dumux-adapter.outputs.shorthash }})" >> $GITHUB_STEP_SUMMARY - echo "Description:" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "${{ steps.ref-dumux-adapter.outputs.description }}" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "### FEniCS adapter" >> $GITHUB_STEP_SUMMARY - echo "Reference: [\`${{ steps.ref-fenics-adapter.outputs.shorthash }}\`](https://github.com/precice/fenics-adapter/commit/${{ steps.ref-fenics-adapter.outputs.shorthash }})" >> $GITHUB_STEP_SUMMARY - echo "Description:" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "${{ steps.ref-fenics-adapter.outputs.description }}" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "### Micro-Manager" >> $GITHUB_STEP_SUMMARY - echo "Reference: [\`${{ steps.ref-micro-manager.outputs.shorthash }}\`](https://github.com/precice/micro-manager/commit/${{ steps.ref-micro-manager.outputs.shorthash }})" >> $GITHUB_STEP_SUMMARY - echo "Description:" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "${{ steps.ref-micro-manager.outputs.description }}" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "### OpenFOAM adapter" >> $GITHUB_STEP_SUMMARY - echo "Reference: [\`${{ steps.ref-openfoam-adapter.outputs.shorthash }}\`](https://github.com/precice/openfoam-adapter/commit/${{ steps.ref-openfoam-adapter.outputs.shorthash }})" >> $GITHUB_STEP_SUMMARY - echo "Description:" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "${{ steps.ref-openfoam-adapter.outputs.description }}" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "### SU2 adapter" >> $GITHUB_STEP_SUMMARY - echo "Reference: [\`${{ steps.ref-su2-adapter.outputs.shorthash }}\`](https://github.com/precice/su2-adapter/commit/${{ steps.ref-su2-adapter.outputs.shorthash }})" >> $GITHUB_STEP_SUMMARY - echo "Description:" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "${{ steps.ref-su2-adapter.outputs.description }}" >> $GITHUB_STEP_SUMMARY - echo "\`\`\`" >> $GITHUB_STEP_SUMMARY - echo "### Tutorials" >> $GITHUB_STEP_SUMMARY - echo "Reference (pull request): \`${{ github.event.pull_request.head.sha }}\`" >> $GITHUB_STEP_SUMMARY - echo "Pull request number: [${{ github.event.number }}](https://github.com/precice/tutorials/pull/${{ github.event.number }})" >> $GITHUB_STEP_SUMMARY + { + 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 "### 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 From 5a2074fd444940b16b688fbf2258875d7484827f Mon Sep 17 00:00:00 2001 From: Gerasimos Chourdakis Date: Fri, 15 May 2026 19:38:29 +0200 Subject: [PATCH 06/12] Remove unused default values from required inputs --- .github/workflows/generate_reference_results_workflow.yml | 1 - .github/workflows/run_testsuite_workflow.yml | 1 - 2 files changed, 2 deletions(-) diff --git a/.github/workflows/generate_reference_results_workflow.yml b/.github/workflows/generate_reference_results_workflow.yml index 6a2868b05..0f70dbd57 100644 --- a/.github/workflows/generate_reference_results_workflow.yml +++ b/.github/workflows/generate_reference_results_workflow.yml @@ -17,7 +17,6 @@ on: type: string log_level: description: 'Logging verbosity level used for the systemtests' - default: 'INFO' required: true type: string jobs: diff --git a/.github/workflows/run_testsuite_workflow.yml b/.github/workflows/run_testsuite_workflow.yml index 0d1e300c2..8ea8be9d0 100644 --- a/.github/workflows/run_testsuite_workflow.yml +++ b/.github/workflows/run_testsuite_workflow.yml @@ -12,7 +12,6 @@ on: type: string system_tests_branch: description: 'Branch to take the system tests from' - default: 'develop' required: true type: string log_level: From 4ada9b05d6045d97510c981937bb00bf01a47633 Mon Sep 17 00:00:00 2001 From: Gerasimos Chourdakis Date: Fri, 15 May 2026 19:41:04 +0200 Subject: [PATCH 07/12] Add double quotes to the GITHUB_STEP_SUMMARY eval --- .github/workflows/check-style.yml | 8 ++++---- .github/workflows/run_testsuite_workflow.yml | 2 +- .github/workflows/system-tests-latest-components.yml | 2 +- .github/workflows/system-tests-pr.yml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/check-style.yml b/.github/workflows/check-style.yml index 568c46867..4652fd8e0 100644 --- a/.github/workflows/check-style.yml +++ b/.github/workflows/check-style.yml @@ -28,14 +28,14 @@ jobs: run: | { echo -e '### Status\n```text' - git status | tee -a $GITHUB_STEP_SUMMARY + git status | tee -a "$GITHUB_STEP_SUMMARY" echo '```' - } >> $GITHUB_STEP_SUMMARY + } >> "$GITHUB_STEP_SUMMARY" - name: Full diff if: always() run: | { echo -e '### Diff\n```diff' - git diff | tee -a $GITHUB_STEP_SUMMARY + git diff | tee -a "$GITHUB_STEP_SUMMARY" echo '```' - } >> $GITHUB_STEP_SUMMARY + } >> "$GITHUB_STEP_SUMMARY" diff --git a/.github/workflows/run_testsuite_workflow.yml b/.github/workflows/run_testsuite_workflow.yml index 8ea8be9d0..5834e9cad 100644 --- a/.github/workflows/run_testsuite_workflow.yml +++ b/.github/workflows/run_testsuite_workflow.yml @@ -50,7 +50,7 @@ jobs: echo "\`\`\`" echo "python3 systemtests.py --build_args=${{inputs.build_args}} --suites=${{ inputs.suites}}" echo "\`\`\`" - } >> $GITHUB_STEP_SUMMARY + } >> "$GITHUB_STEP_SUMMARY" - name: Move LFS URL to local LFS server run: | /home/precice/runners_root/scripts/make_lfs_local.sh diff --git a/.github/workflows/system-tests-latest-components.yml b/.github/workflows/system-tests-latest-components.yml index fccd1c23b..60f29aeab 100644 --- a/.github/workflows/system-tests-latest-components.yml +++ b/.github/workflows/system-tests-latest-components.yml @@ -154,7 +154,7 @@ jobs: echo "\`\`\`" echo "${{ steps.ref-tutorials.outputs.description }}" echo "\`\`\`" - } >> $GITHUB_STEP_SUMMARY + } >> "$GITHUB_STEP_SUMMARY" run-system-tests: name: Trigger system tests diff --git a/.github/workflows/system-tests-pr.yml b/.github/workflows/system-tests-pr.yml index b474e4fbc..39bd92501 100644 --- a/.github/workflows/system-tests-pr.yml +++ b/.github/workflows/system-tests-pr.yml @@ -142,7 +142,7 @@ jobs: 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 + } >> "$GITHUB_STEP_SUMMARY" run-system-tests: name: Trigger system tests From 873766d2189d685f5b146a74105c2dda74bea9c6 Mon Sep 17 00:00:00 2001 From: Gerasimos Chourdakis Date: Fri, 15 May 2026 19:45:43 +0200 Subject: [PATCH 08/12] Remove git status from check-style.yml --- .github/workflows/check-style.yml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/.github/workflows/check-style.yml b/.github/workflows/check-style.yml index 4652fd8e0..20275031c 100644 --- a/.github/workflows/check-style.yml +++ b/.github/workflows/check-style.yml @@ -23,19 +23,3 @@ jobs: run: pip install pre-commit - name: Run checks run: pre-commit run -a - - name: Git status - if: always() - run: | - { - echo -e '### Status\n```text' - git status | tee -a "$GITHUB_STEP_SUMMARY" - echo '```' - } >> "$GITHUB_STEP_SUMMARY" - - name: Full diff - if: always() - run: | - { - echo -e '### Diff\n```diff' - git diff | tee -a "$GITHUB_STEP_SUMMARY" - echo '```' - } >> "$GITHUB_STEP_SUMMARY" From 3845caf1161a86a357f83da925257a1cc55b72ac Mon Sep 17 00:00:00 2001 From: Gerasimos Chourdakis Date: Fri, 15 May 2026 19:50:32 +0200 Subject: [PATCH 09/12] update-website.yml: add double quotes to url --- .github/workflows/update-website.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-website.yml b/.github/workflows/update-website.yml index c3d6ce17b..b7b576ff4 100644 --- a/.github/workflows/update-website.yml +++ b/.github/workflows/update-website.yml @@ -16,7 +16,7 @@ jobs: run: | curl \ --request POST \ - --url https://api.github.com/repos/precice/precice.github.io/actions/workflows/$WORKFLOW_FILENAME/dispatches \ + --url "https://api.github.com/repos/precice/precice.github.io/actions/workflows/$WORKFLOW_FILENAME/dispatches" \ --header "authorization: token ${{ secrets.WORKFLOW_DISPATCH_TOKEN }}" \ --header "Accept: application/vnd.github.v3+json" \ --data '{"ref":"master"}' \ From c4906e312b7d1d80455d616e82c24bb9ddf18fd1 Mon Sep 17 00:00:00 2001 From: Gerasimos Chourdakis Date: Fri, 15 May 2026 19:55:05 +0200 Subject: [PATCH 10/12] Add actionlint pre-commit hook --- .github/actionlint.yaml | 3 +++ .pre-commit-config.yaml | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 .github/actionlint.yaml diff --git a/.github/actionlint.yaml b/.github/actionlint.yaml new file mode 100644 index 000000000..b23dec5c9 --- /dev/null +++ b/.github/actionlint.yaml @@ -0,0 +1,3 @@ +self-hosted-runner: + labels: + - precice-tests-vm \ No newline at end of file diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 27eac2fb6..de5022122 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -48,3 +48,7 @@ repos: language: script entry: tools/check-links-to-precice.sh types_or: ["markdown", "html"] +- repo: https://github.com/rhysd/actionlint + rev: v1.7.12 + hooks: + - id: actionlint From cfca40606b306e27e411ca4d8439797b0df1e1b7 Mon Sep 17 00:00:00 2001 From: Gerasimos Chourdakis Date: Fri, 15 May 2026 19:56:22 +0200 Subject: [PATCH 11/12] System tests: Swap the full/few upload-artifacts steps --- .../generate_reference_results_workflow.yml | 14 +++++++------- .github/workflows/run_testsuite_workflow.yml | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/generate_reference_results_workflow.yml b/.github/workflows/generate_reference_results_workflow.yml index 0f70dbd57..6ac87f392 100644 --- a/.github/workflows/generate_reference_results_workflow.yml +++ b/.github/workflows/generate_reference_results_workflow.yml @@ -84,6 +84,13 @@ jobs: fi git commit -m "${{inputs.commit_msg}}" git push + - name: Archive run files + if: failure() + uses: actions/upload-artifact@v7 + with: + name: system_tests_run_${{ github.run_id }}_${{ github.run_attempt }}_reference_full + path: | + runs/* - name: Archive main log files uses: actions/upload-artifact@v7 with: @@ -92,10 +99,3 @@ jobs: runs/*/system-tests-stdout.log runs/*/system-tests-stderr.log runs/*/*/system-tests_*.log - - name: Archive run files - if: failure() - uses: actions/upload-artifact@v7 - with: - name: system_tests_run_${{ github.run_id }}_${{ github.run_attempt }}_reference_full - path: | - runs/* diff --git a/.github/workflows/run_testsuite_workflow.yml b/.github/workflows/run_testsuite_workflow.yml index 5834e9cad..085c5286e 100644 --- a/.github/workflows/run_testsuite_workflow.yml +++ b/.github/workflows/run_testsuite_workflow.yml @@ -78,6 +78,13 @@ jobs: cd tools/tests python systemtests.py --build_args=${{ inputs.build_args}} --suites=${{ inputs.suites}} --log-level=${{ inputs.log_level}} cd ../../ + - name: Archive run files + if: ${{ failure() || inputs.upload_artifacts == 'TRUE' }} + uses: actions/upload-artifact@v7 + with: + name: system_tests_run_${{ github.run_id }}_${{ github.run_attempt }}_full + path: | + runs/* - name: Archive main log files uses: actions/upload-artifact@v7 with: @@ -86,13 +93,6 @@ jobs: runs/*/system-tests-stdout.log runs/*/system-tests-stderr.log runs/*/*/system-tests_*.log - - name: Archive run files - if: ${{ failure() || inputs.upload_artifacts == 'TRUE' }} - uses: actions/upload-artifact@v7 - with: - name: system_tests_run_${{ github.run_id }}_${{ github.run_attempt }}_full - path: | - runs/* - name: tidy up the docker run: | docker network prune -f From 26461c6e78beb19a1768224e80651a9eb6302f3b Mon Sep 17 00:00:00 2001 From: Gerasimos Chourdakis Date: Fri, 15 May 2026 19:57:31 +0200 Subject: [PATCH 12/12] Specify timezone in schedules --- .github/workflows/system-tests-cleanup.yml | 1 + .github/workflows/system-tests-latest-components.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/system-tests-cleanup.yml b/.github/workflows/system-tests-cleanup.yml index a36ae6af5..bd12d982a 100644 --- a/.github/workflows/system-tests-cleanup.yml +++ b/.github/workflows/system-tests-cleanup.yml @@ -3,6 +3,7 @@ name: System tests cleanup on: schedule: - cron: "0 3 1 * *" + timezone: "Europe/Berlin" workflow_dispatch: jobs: diff --git a/.github/workflows/system-tests-latest-components.yml b/.github/workflows/system-tests-latest-components.yml index 60f29aeab..a68b8639c 100644 --- a/.github/workflows/system-tests-latest-components.yml +++ b/.github/workflows/system-tests-latest-components.yml @@ -3,6 +3,7 @@ name: System tests (latest components) on: schedule: - cron: "0 4 * * *" + timezone: "Europe/Berlin" workflow_dispatch: jobs: