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
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
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/codecov-action@v1.0.2
8787 with :
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/codecov-action@v1.0.2
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/codecov-action@v1.0.2
115115 with :
0 commit comments