From b7a04c50ff21e1db3e8e87e48f977e006b1205f8 Mon Sep 17 00:00:00 2001 From: "Zaiming (Stone) Shi" Date: Thu, 3 Nov 2022 21:49:18 +0100 Subject: [PATCH] ci: upload all cover data to the same artifact name all concurrent jobs produces different coverdata file names so there is clashing --- .github/workflows/run_test_cases.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run_test_cases.yaml b/.github/workflows/run_test_cases.yaml index 34b803173..d67ed1395 100644 --- a/.github/workflows/run_test_cases.yaml +++ b/.github/workflows/run_test_cases.yaml @@ -71,8 +71,9 @@ jobs: run: make ${{ matrix.task }} - uses: actions/upload-artifact@v3 with: - name: cover-${{ matrix.task }} + name: cover path: source/_build/test/cover + if-no-files-found: warn emqx_ct: needs: prepare @@ -88,13 +89,15 @@ jobs: path: . - name: unzip source code run: unzip -o -q source.zip + # produces emqx-emqx.coverdata - name: emqx-ct-pipeline working-directory: source run: make emqx-ct-pipeline - uses: actions/upload-artifact@v3 with: - name: cover-emqx-ct-pipeline + name: cover path: source/_build/test/cover + if-no-files-found: warn ct: needs: prepare