diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 3eeb0da48a..f51945d308 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -6,13 +6,10 @@ on: branches: - master -env: - runner: "ubuntu-20.04" - jobs: run-tests: name: ${{ matrix.shard_name }}(py=${{ matrix.python-version }},dj=${{ matrix.django-version }},mongo=${{ matrix.mongo-version }}) - runs-on: ${{ github.env.runner }} + runs-on: ubuntu-20.04 strategy: matrix: python-version: @@ -115,7 +112,7 @@ jobs: # https://github.com/orgs/community/discussions/33579 success: name: Unit tests successful - runs-on: ${{ github.env.runner }} + runs-on: ubuntu-20.04 needs: [ run-tests ] steps: - name: Decide whether the needed jobs succeeded or failed @@ -125,7 +122,7 @@ jobs: jobs: ${{ toJSON(needs) }} compile-warnings-report: - runs-on: ${{ github.env.runner }} + runs-on: ubuntu-20.04 needs: [ run-tests ] steps: - uses: actions/checkout@v4 @@ -154,7 +151,7 @@ jobs: # 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)) - runs-on: ${{ github.env.runner }} + runs-on: ubuntu-20.04 needs: [ run-tests ] strategy: matrix: