[PATCH 2/2] ci: labgrid: use different names per Test Results entry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We run the EnricoMi/publish-unit-test-result-action@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@xxxxxxxxxxxxxx>
---
 .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@v2
       if: always()
       with:
+        check_name: "Test Results (${{matrix.defconfig}})"
         files: ./*.tests.xml
 
     - name: Publish Labgrid Log Results
-- 
2.39.2





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux