Skip to content

Commit 72b2ff9

Browse files
authored
Migrate GitHub Actions off of outdate ubuntu-20.04 runner image (#717)
> The Ubuntu 20.04 runner image will be fully unsupported by April 1, 2025. To raise awareness of the upcoming removal, we will temporarily fail jobs using Ubuntu 20.04. Builds that are scheduled to run during the brownout periods will fail. I have not tested this change, if problems are reported we can address them as they occur - but we must upgrade to ensure the builds _actually work_.
1 parent 9320b84 commit 72b2ff9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/coverage_runner.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
strategy:
3939
matrix:
4040
python-version: [ '3.7', '3.12' ]
41-
os: [ ubuntu-20.04, windows-latest ]
41+
os: [ ubuntu-latest, windows-latest ]
4242
fail-fast: false
4343

4444
steps:
@@ -81,20 +81,20 @@ jobs:
8181
run: python run_tests.py
8282

8383
- name: Publish results to Codecov for PR coming from hazelcast organization
84-
if: ${{ matrix.python-version == '3.12' && matrix.os == 'ubuntu-20.04' && github.event_name == 'pull_request_target' }}
84+
if: ${{ matrix.python-version == '3.12' && matrix.os == 'ubuntu-latest' && github.event_name == 'pull_request_target' }}
8585
uses: codecov/codecov-action@v1
8686
with:
8787
files: ./coverage.xml
8888
override_pr: ${{ github.event.pull_request.number }}
8989

9090
- name: Publish results to Codecov for Push
91-
if: ${{ matrix.python-version == '3.12' && matrix.os == 'ubuntu-20.04' && github.event_name == 'push' }}
91+
if: ${{ matrix.python-version == '3.12' && matrix.os == 'ubuntu-latest' && github.event_name == 'push' }}
9292
uses: codecov/codecov-action@v1
9393
with:
9494
files: ./coverage.xml
9595

9696
- name: Publish result to Codecov for PR coming from community
97-
if: ${{ matrix.python-version == '3.12' && matrix.os == 'ubuntu-20.04' && github.event_name == 'workflow_dispatch' }}
97+
if: ${{ matrix.python-version == '3.12' && matrix.os == 'ubuntu-latest' && github.event_name == 'workflow_dispatch' }}
9898
uses: codecov/codecov-action@v1
9999
with:
100100
files: ./coverage.xml

.github/workflows/nightly_runner.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
matrix:
1212
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
13-
os: [ ubuntu-20.04, windows-latest ]
13+
os: [ ubuntu-latest, windows-latest ]
1414
exclude:
1515
- os: windows-latest
1616
python-version: pypy-3.9

0 commit comments

Comments
 (0)