8
8
test-matrix :
9
9
strategy :
10
10
matrix :
11
- operating-system : [ubuntu-latest , windows-latest, macOS-latest]
11
+ operating-system : [ubuntu-20.04 , windows-latest, macOS-latest]
12
12
13
13
runs-on : ${{ matrix.operating-system }}
14
14
@@ -69,15 +69,15 @@ jobs:
69
69
70
70
- name : Run unit tests on the legacy package
71
71
# Run legacy tests on one platform only
72
- if : matrix.operating-system == 'ubuntu-latest '
72
+ if : matrix.operating-system == 'ubuntu-20.04 '
73
73
run : task test-legacy
74
74
75
75
- name : Run integration tests
76
76
run : task test-integration
77
77
78
78
- name : Send unit tests coverage to Codecov
79
79
if : >
80
- matrix.operating-system == 'ubuntu-latest ' &&
80
+ matrix.operating-system == 'ubuntu-20.04 ' &&
81
81
github.event_name == 'push'
82
82
uses : codecov/codecov-action@v1
83
83
with :
86
86
87
87
- name : Send legacy tests coverage to Codecov
88
88
if : >
89
- matrix.operating-system == 'ubuntu-latest ' &&
89
+ matrix.operating-system == 'ubuntu-20.04 ' &&
90
90
github.event_name == 'push'
91
91
uses : codecov/codecov-action@v1
92
92
with :
@@ -95,15 +95,15 @@ jobs:
95
95
96
96
- name : Send integration tests coverage to Codecov
97
97
if : >
98
- matrix.operating-system == 'ubuntu-latest ' &&
98
+ matrix.operating-system == 'ubuntu-20.04 ' &&
99
99
github.event_name == 'push'
100
100
uses : codecov/codecov-action@v1
101
101
with :
102
102
file : ./coverage_integ.txt
103
103
flags : integ
104
104
105
105
create-test-artifacts :
106
- runs-on : ubuntu-latest
106
+ runs-on : ubuntu-20.04
107
107
needs : test-matrix
108
108
109
109
steps :
0 commit comments