[PATCH 2/2] ci: labgrid: use different names per Test Results entry
Ahmad Fatoum
a.fatoum at pengutronix.de
Tue Jul 16 23:19:41 PDT 2024
We run the EnricoMi/publish-unit-test-result-action at v2 for each job and
they all have the same name leading to the Jobs sidebar on the Github
Actions Tab to list many duplicated "Test Results" entries[1].
This can be avoided by using a unique check_name for each job and this
leads to a cleaner result as seen in [2].
[1]: https://github.com/a3f/barebox/actions/runs/9962639998
[2]: https://github.com/a3f/barebox/actions/runs/9964226753
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
.github/workflows/test-labgrid-pytest.yml | 1 +
1 file changed, 1 insertion(+)
diff --git a/.github/workflows/test-labgrid-pytest.yml b/.github/workflows/test-labgrid-pytest.yml
index 42a796a157e1..2e038e371f1e 100644
--- a/.github/workflows/test-labgrid-pytest.yml
+++ b/.github/workflows/test-labgrid-pytest.yml
@@ -80,6 +80,7 @@ jobs:
uses: EnricoMi/publish-unit-test-result-action at v2
if: always()
with:
+ check_name: "Test Results (${{matrix.defconfig}})"
files: ./*.tests.xml
- name: Publish Labgrid Log Results
--
2.39.2
More information about the barebox
mailing list