From b3185ffe7b3c1c526d4c6eeeb201992fa04464fc Mon Sep 17 00:00:00 2001 From: Irtaza Akram Date: Wed, 29 May 2024 13:18:53 +0500 Subject: [PATCH] fix: env for runner --- .github/workflows/unit-tests.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) 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: