Skip to content

Commit ba1370b

Browse files
author
Massimiliano Pippi
authored
[skip changelog] unpin OS version on runners (#473)
1 parent cf3750c commit ba1370b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: .github/workflows/test.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
operating-system: [ubuntu-18.04, windows-2019, macOS-10.14]
14+
operating-system: [ubuntu-latest, windows-latest, macOS-latest]
1515

1616
runs-on: ${{ matrix.operating-system }}
1717

@@ -61,7 +61,7 @@ jobs:
6161

6262
- name: Run unit tests on the legacy package
6363
# Run legacy tests on one platform only
64-
if: matrix.operating-system == 'ubuntu-18.04'
64+
if: matrix.operating-system == 'ubuntu-latest'
6565
run: task test-legacy
6666

6767
- name: Install Python
@@ -81,7 +81,7 @@ jobs:
8181
# Codecov whitelists GitHub, lifting the need
8282
# for a token.
8383
if: >
84-
matrix.operating-system == 'ubuntu-18.04' &&
84+
matrix.operating-system == 'ubuntu-latest' &&
8585
github.event_name == 'push'
8686
uses: codecov/[email protected]
8787
with:
@@ -95,7 +95,7 @@ jobs:
9595
# Codecov whitelists GitHub, lifting the need
9696
# for a token.
9797
if: >
98-
matrix.operating-system == 'ubuntu-18.04' &&
98+
matrix.operating-system == 'ubuntu-latest' &&
9999
github.event_name == 'push'
100100
uses: codecov/[email protected]
101101
with:
@@ -109,7 +109,7 @@ jobs:
109109
# Codecov whitelists GitHub, lifting the need
110110
# for a token.
111111
if: >
112-
matrix.operating-system == 'ubuntu-18.04' &&
112+
matrix.operating-system == 'ubuntu-latest' &&
113113
github.event_name == 'push'
114114
uses: codecov/[email protected]
115115
with:

0 commit comments

Comments
 (0)