Skip to content

Commit 975bb48

Browse files
authored
Set the Ubuntu version used in workflows to 20.04 (#597)
There seems to be a temporary issue on the availability of the Python 3.6 version in the ubuntu-22.04 (latest). Till that issue is resolved, we should pin the Ubuntu version to 20.04, as it is the latest version that has Python 3.6 today.
1 parent 3974ac6 commit 975bb48

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/coverage_runner.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
strategy:
3939
matrix:
4040
python-version: [ '3.6', '3.10' ]
41-
os: [ ubuntu-latest, windows-latest ]
41+
os: [ ubuntu-20.04, windows-latest ]
4242
fail-fast: false
4343

4444
steps:
@@ -79,20 +79,20 @@ jobs:
7979
run: python run_tests.py
8080

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

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

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

.github/workflows/nightly_runner.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
matrix:
1212
python-version: [ '3.6', '3.7', '3.8', '3.9', '3.10', 'pypy-3.9']
13-
os: [ ubuntu-latest, windows-latest ]
13+
os: [ ubuntu-20.04, windows-latest ]
1414
fail-fast: false
1515
steps:
1616
- name: Setup Python

0 commit comments

Comments
 (0)