From e1080e38ffdb79ea349465a91e566c4e2fd24173 Mon Sep 17 00:00:00 2001 From: Irtaza Akram Date: Tue, 25 Jun 2024 16:04:03 +0500 Subject: [PATCH] fix: merge artifacts --- .github/workflows/unit-tests.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index ff69bf181ea..d4a60529c18 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -245,6 +245,24 @@ jobs: reports/pytest_warnings/warning_report_all.html overwrite: true + merge-artifacts: + runs-on: ubuntu-20.04 + needs: [run-tests] + steps: + - name: Merge Pytest Warnings JSON Artifacts + uses: actions/upload-artifact/merge@v4 + with: + name: pytest-warnings-json + pattern: pytest-warnings-json-* + delete-merged: true + + - name: Merge Coverage Artifacts + uses: actions/upload-artifact/merge@v4 + with: + name: coverage + pattern: coverage-* + delete-merged: true + # Combine and upload coverage reports. coverage: if: (github.repository == 'edx/edx-platform-private') || (github.repository == 'openedx/edx-platform' && (startsWith(github.base_ref, 'open-release') == false))