Skip to content

Commit c9d5f7e

Browse files
committed
[skip changelog] Upgrade workflow ubuntu env
1 parent b105981 commit c9d5f7e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/test.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
test-matrix:
99
strategy:
1010
matrix:
11-
operating-system: [ubuntu-latest, windows-latest, macOS-latest]
11+
operating-system: [ubuntu-20.04, windows-latest, macOS-latest]
1212

1313
runs-on: ${{ matrix.operating-system }}
1414

@@ -69,15 +69,15 @@ jobs:
6969

7070
- name: Run unit tests on the legacy package
7171
# Run legacy tests on one platform only
72-
if: matrix.operating-system == 'ubuntu-latest'
72+
if: matrix.operating-system == 'ubuntu-20.04'
7373
run: task test-legacy
7474

7575
- name: Run integration tests
7676
run: task test-integration
7777

7878
- name: Send unit tests coverage to Codecov
7979
if: >
80-
matrix.operating-system == 'ubuntu-latest' &&
80+
matrix.operating-system == 'ubuntu-20.04' &&
8181
github.event_name == 'push'
8282
uses: codecov/codecov-action@v1
8383
with:
@@ -86,7 +86,7 @@ jobs:
8686

8787
- name: Send legacy tests coverage to Codecov
8888
if: >
89-
matrix.operating-system == 'ubuntu-latest' &&
89+
matrix.operating-system == 'ubuntu-20.04' &&
9090
github.event_name == 'push'
9191
uses: codecov/codecov-action@v1
9292
with:
@@ -95,15 +95,15 @@ jobs:
9595

9696
- name: Send integration tests coverage to Codecov
9797
if: >
98-
matrix.operating-system == 'ubuntu-latest' &&
98+
matrix.operating-system == 'ubuntu-20.04' &&
9999
github.event_name == 'push'
100100
uses: codecov/codecov-action@v1
101101
with:
102102
file: ./coverage_integ.txt
103103
flags: integ
104104

105105
create-test-artifacts:
106-
runs-on: ubuntu-latest
106+
runs-on: ubuntu-20.04
107107
needs: test-matrix
108108

109109
steps:

0 commit comments

Comments
 (0)