Skip to content

Commit

Permalink
Set the Ubuntu version used in workflows to 20.04 (#597)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mdumandag committed Nov 30, 2022
1 parent 3974ac6 commit 975bb48
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/coverage_runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
strategy:
matrix:
python-version: [ '3.6', '3.10' ]
os: [ ubuntu-latest, windows-latest ]
os: [ ubuntu-20.04, windows-latest ]
fail-fast: false

steps:
Expand Down Expand Up @@ -79,20 +79,20 @@ jobs:
run: python run_tests.py

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

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

- name: Publish result to Codecov for PR coming from community
if: ${{ matrix.python-version == '3.10' && matrix.os == 'ubuntu-latest' && github.event_name == 'workflow_dispatch' }}
if: ${{ matrix.python-version == '3.10' && matrix.os == 'ubuntu-20.04' && github.event_name == 'workflow_dispatch' }}
uses: codecov/codecov-action@v1
with:
files: ./coverage.xml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly_runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
python-version: [ '3.6', '3.7', '3.8', '3.9', '3.10', 'pypy-3.9']
os: [ ubuntu-latest, windows-latest ]
os: [ ubuntu-20.04, windows-latest ]
fail-fast: false
steps:
- name: Setup Python
Expand Down

0 comments on commit 975bb48

Please sign in to comment.