ci: upload all cover data to the same artifact name

all concurrent jobs produces different coverdata file names
so there is clashing
This commit is contained in:
Zaiming (Stone) Shi 2022-11-03 21:49:18 +01:00
parent c2bc6b56ec
commit b7a04c50ff
1 changed files with 5 additions and 2 deletions

View File

@ -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