diff --git a/.github/workflows/_test-unit-services-base.yml b/.github/workflows/_test-unit-services-base.yml index 17d7ad759fb..afc152b63e4 100644 --- a/.github/workflows/_test-unit-services-base.yml +++ b/.github/workflows/_test-unit-services-base.yml @@ -37,6 +37,11 @@ on: required: false type: boolean default: false + artifact-name: + description: "Unique name for the coverage artifact (must be unique per run)" + required: false + type: string + default: "run" secrets: REDIS_HOST: required: false @@ -173,7 +178,7 @@ jobs: if: always() uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1 with: - name: coverage-${{ github.job }}-${{ github.run_id }}-${{ github.run_attempt }} + name: coverage-${{ inputs.artifact-name }}-${{ github.run_id }}-${{ github.run_attempt }} path: coverage.xml retention-days: 1 diff --git a/.github/workflows/test-unit-proxy-db.yml b/.github/workflows/test-unit-proxy-db.yml index 09ced37dd20..ac41baefe9e 100644 --- a/.github/workflows/test-unit-proxy-db.yml +++ b/.github/workflows/test-unit-proxy-db.yml @@ -41,6 +41,7 @@ jobs: timeout-minutes: ${{ matrix.timeout }} enable-redis: false enable-postgres: true + artifact-name: proxy-db-${{ matrix.test-group }} secrets: DATABASE_URL: ${{ secrets.DATABASE_URL }} POSTGRES_USER: ${{ secrets.POSTGRES_USER }}