Skip to content

Commit 480736b

Browse files
committed
Merge branch 'ci/fixes'
2 parents 2de027d + cd72fc0 commit 480736b

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/scripts/runtime_table_generator.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,14 @@
147147
print("")
148148

149149
try:
150-
print(f"[Commit](https://github.com/{os.environ['GITHUB_REPOSITORY']}/commit/{commit_sha}) / [Build and QEMU run](https://github.com/{os.environ['GITHUB_REPOSITORY']}/actions/runs/{os.environ['BUILD_RUN_ID']}) / [Hardware and Wokwi run](https://github.com/{os.environ['GITHUB_REPOSITORY']}/actions/runs/{os.environ['WOKWI_RUN_ID']})")
150+
repo = os.environ['GITHUB_REPOSITORY']
151+
commit_url = f"https://github.com/{repo}/commit/{commit_sha}"
152+
build_workflow_url = f"https://github.com/{repo}/actions/runs/{os.environ['BUILD_RUN_ID']}"
153+
wokwi_hw_workflow_url = f"https://github.com/{repo}/actions/runs/{os.environ['WOKWI_RUN_ID']}"
154+
results_workflow_url = f"https://github.com/{repo}/actions/runs/{os.environ['RESULTS_RUN_ID']}"
155+
results_url = os.environ['RESULTS_URL']
156+
print(f"[Commit]({commit_url}) / [Build and QEMU run]({build_workflow_url}) / [Hardware and Wokwi run]({wokwi_hw_workflow_url}) / [Results processing]({results_workflow_url})")
157+
print(f"[Test results]({results_url})")
151158
except KeyError:
152159
pass
153160

.github/workflows/tests_results.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ jobs:
149149
python3 ./generate_missing_junits.py ./build_artifacts ./artifacts ./test_errors
150150
151151
- name: Publish Unit Test Results
152+
id: publish-test-results
152153
uses: EnricoMi/publish-unit-test-result-action@170bf24d20d201b842d7a52403b73ed297e6645b # v2.18.0
153154
with:
154155
commit: ${{ needs.get-artifacts.outputs.original_sha }}
@@ -250,6 +251,8 @@ jobs:
250251
QEMU_TYPES: ${{ needs.get-artifacts.outputs.qemu_types }}
251252
WOKWI_RUN_ID: ${{ github.event.workflow_run.id }}
252253
BUILD_RUN_ID: ${{ needs.get-artifacts.outputs.original_run_id }}
254+
RESULTS_URL: ${{ fromJSON( steps.publish-test-results.outputs.json ).check_url }}
255+
RESULTS_RUN_ID: ${{ github.run_id }}
253256
REPORT_FILE: ./runtime-test-results/RUNTIME_TEST_RESULTS.md
254257
IS_FAILING: >-
255258
${{

0 commit comments

Comments
 (0)