fix: merged gh-hosted into gha
This commit is contained in:
committed by
Feanil Patel
parent
a6755edcbb
commit
6b5f11a79b
3
.github/workflows/unit-tests.yml
vendored
3
.github/workflows/unit-tests.yml
vendored
@@ -9,7 +9,6 @@ on:
|
||||
jobs:
|
||||
run-tests:
|
||||
name: ${{ matrix.shard_name }}(py=${{ matrix.python-version }},dj=${{ matrix.django-version }},mongo=${{ matrix.mongo-version }})
|
||||
if: (github.repository == 'edx/edx-platform-private') || (github.repository == 'openedx/edx-platform' && (startsWith(github.base_ref, 'open-release') == false))
|
||||
runs-on: [ "ubuntu-20.04" ]
|
||||
strategy:
|
||||
matrix:
|
||||
@@ -98,10 +97,12 @@ jobs:
|
||||
uses: ./.github/actions/unit-tests
|
||||
|
||||
- name: Renaming coverage data file
|
||||
if: (github.repository == 'edx/edx-platform-private') || (github.repository == 'openedx/edx-platform' && (startsWith(github.base_ref, 'open-release') == false))
|
||||
run: |
|
||||
mv reports/.coverage reports/${{ matrix.shard_name }}.coverage
|
||||
|
||||
- name: Upload coverage
|
||||
if: (github.repository == 'edx/edx-platform-private') || (github.repository == 'openedx/edx-platform' && (startsWith(github.base_ref, 'open-release') == false))
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: coverage
|
||||
|
||||
Reference in New Issue
Block a user