fix: merged gh-hosted into gha

This commit is contained in:
Irtaza Akram
2024-05-27 11:04:56 +05:00
committed by Feanil Patel
parent a6755edcbb
commit 6b5f11a79b
3 changed files with 2 additions and 143 deletions

View File

@@ -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