diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 6374f3ee..485c4c05 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -28,7 +28,7 @@ on: branches: [ 'main' ] concurrency: - group: ${{ github.workflow }}-${{ github.ref }} + group: '${{ github.workflow }}-${{ github.ref }}' cancel-in-progress: true env: @@ -202,7 +202,7 @@ jobs: # see https://github.com/actions/upload-artifact uses: actions/upload-artifact@v4 with: - name: ${{ env.TESTS_REPORTS_ARTIFACT }} + name: '${{ env.TESTS_REPORTS_ARTIFACT }}_bnt_${{ matrix.os }}_py${{ matrix.python-version }}' path: ${{ env.REPORTS_DIR }} if-no-files-found: error @@ -216,12 +216,14 @@ jobs: # see https://github.com/actions/download-artifact uses: actions/download-artifact@v4 with: - name: ${{ env.TESTS_REPORTS_ARTIFACT }} + pattern: '${{ env.TESTS_REPORTS_ARTIFACT }}_bnt_*' + merge-multiple: true path: ${{ env.REPORTS_DIR }} - name: Run codacy-coverage-reporter env: CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }} - if: ${{ env.CODACY_PROJECT_TOKEN != '' }} ## see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-secrets + ## see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-secrets + if: ${{ env.CODACY_PROJECT_TOKEN != '' }} # see https://github.com/codacy/codacy-coverage-reporter-action uses: codacy/codacy-coverage-reporter-action@v1 with: