diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 4354b5c48a5..0640c8b322c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -8,7 +8,7 @@ jobs: test-matrix: strategy: matrix: - operating-system: [ubuntu-latest, windows-latest, macOS-latest] + operating-system: [ubuntu-20.04, windows-latest, macOS-latest] runs-on: ${{ matrix.operating-system }} @@ -69,7 +69,7 @@ jobs: - name: Run unit tests on the legacy package # Run legacy tests on one platform only - if: matrix.operating-system == 'ubuntu-latest' + if: matrix.operating-system == 'ubuntu-20.04' run: task test-legacy - name: Run integration tests @@ -77,7 +77,7 @@ jobs: - name: Send unit tests coverage to Codecov if: > - matrix.operating-system == 'ubuntu-latest' && + matrix.operating-system == 'ubuntu-20.04' && github.event_name == 'push' uses: codecov/codecov-action@v1 with: @@ -86,7 +86,7 @@ jobs: - name: Send legacy tests coverage to Codecov if: > - matrix.operating-system == 'ubuntu-latest' && + matrix.operating-system == 'ubuntu-20.04' && github.event_name == 'push' uses: codecov/codecov-action@v1 with: @@ -95,7 +95,7 @@ jobs: - name: Send integration tests coverage to Codecov if: > - matrix.operating-system == 'ubuntu-latest' && + matrix.operating-system == 'ubuntu-20.04' && github.event_name == 'push' uses: codecov/codecov-action@v1 with: @@ -103,7 +103,7 @@ jobs: flags: integ create-test-artifacts: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 needs: test-matrix steps: