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/.github/workflows/check-links.yml b/.github/workflows/check-links.yml deleted file mode 100644 index f7e0ce616..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@v2 - - 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' diff --git a/.github/workflows/check-style.yml b/.github/workflows/check-style.yml index da68887d9..20275031c 100644 --- a/.github/workflows/check-style.yml +++ b/.github/workflows/check-style.yml @@ -13,9 +13,9 @@ 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 + uses: actions/setup-python@v6 with: python-version: '3.10' check-latest: true @@ -23,15 +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' >> $GITHUB_STEP_SUMMARY - 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 diff --git a/.github/workflows/generate_reference_results_workflow.yml b/.github/workflows/generate_reference_results_workflow.yml index 108a4c69d..6ac87f392 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: @@ -43,7 +42,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 @@ -85,18 +84,18 @@ 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@v4 + uses: actions/upload-artifact@v7 with: name: system_tests_run_${{ github.run_id }}_${{ github.run_attempt }}_reference_logs path: | runs/*/system-tests-stdout.log runs/*/system-tests-stderr.log runs/*/*/system-tests_*.log - - name: Archive run files - if: failure() - uses: actions/upload-artifact@v4 - 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 d8aa771dc..085c5286e 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: @@ -39,17 +38,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 @@ -60,7 +61,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 }} @@ -77,21 +78,21 @@ 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@v4 + uses: actions/upload-artifact@v7 with: name: system_tests_run_${{ github.run_id }}_${{ github.run_attempt }}_logs path: | 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@v4 - with: - name: system_tests_run_${{ github.run_id }}_${{ github.run_attempt }}_full - path: | - runs/* - name: tidy up the docker run: | docker network prune -f 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 c22853f29..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: @@ -98,61 +99,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..39bd92501 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 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"}' \ 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