Skip to content

Commit

Permalink
fix: merge artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
irtazaakram committed Jun 25, 2024
1 parent 8e27a9b commit e1080e3
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit e1080e3

Please sign in to comment.