Skip to content

Commit

Permalink
Try an older ubuntu image to get py2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
sentrivana committed Jun 19, 2023
1 parent 0792db2 commit cd30a3e
Show file tree
Hide file tree
Showing 38 changed files with 259 additions and 222 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/test-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ jobs:
fail-fast: false
matrix:
python-version: ["2.7","3.5","3.6","3.7","3.8","3.9","3.10","3.11"]
# python3.6 reached EOL and is no longer being supported on
# new versions of hosted runners on Github Actions
# ubuntu-20.04 is the last version that supported python3.6
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
os: [ubuntu-20.04]
# python2.7 is no longer being supported in new versions of hosted
# runners on Github Actions
# ubuntu-18.04 is the last version that supported python2.7
# see https://github.com/actions/setup-python/issues/672
# note: same issue with 3.6, which needs at most ubuntu-20.04
os: [ubuntu-18.04]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -74,7 +75,7 @@ jobs:
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
runs-on: ubuntu-18.04
steps:
- name: Check for failures
if: contains(needs.test.result, 'failure')
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/test-integration-aiohttp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.7","3.8","3.9","3.10","3.11"]
# python3.6 reached EOL and is no longer being supported on
# new versions of hosted runners on Github Actions
# ubuntu-20.04 is the last version that supported python3.6
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
os: [ubuntu-20.04]
# python2.7 is no longer being supported in new versions of hosted
# runners on Github Actions
# ubuntu-18.04 is the last version that supported python2.7
# see https://github.com/actions/setup-python/issues/672
# note: same issue with 3.6, which needs at most ubuntu-20.04
os: [ubuntu-18.04]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -74,7 +75,7 @@ jobs:
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
runs-on: ubuntu-18.04
steps:
- name: Check for failures
if: contains(needs.test.result, 'failure')
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/test-integration-arq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.7","3.8","3.9","3.10","3.11"]
# python3.6 reached EOL and is no longer being supported on
# new versions of hosted runners on Github Actions
# ubuntu-20.04 is the last version that supported python3.6
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
os: [ubuntu-20.04]
# python2.7 is no longer being supported in new versions of hosted
# runners on Github Actions
# ubuntu-18.04 is the last version that supported python2.7
# see https://github.com/actions/setup-python/issues/672
# note: same issue with 3.6, which needs at most ubuntu-20.04
os: [ubuntu-18.04]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -74,7 +75,7 @@ jobs:
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
runs-on: ubuntu-18.04
steps:
- name: Check for failures
if: contains(needs.test.result, 'failure')
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/test-integration-asgi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.7","3.8","3.9","3.10","3.11"]
# python3.6 reached EOL and is no longer being supported on
# new versions of hosted runners on Github Actions
# ubuntu-20.04 is the last version that supported python3.6
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
os: [ubuntu-20.04]
# python2.7 is no longer being supported in new versions of hosted
# runners on Github Actions
# ubuntu-18.04 is the last version that supported python2.7
# see https://github.com/actions/setup-python/issues/672
# note: same issue with 3.6, which needs at most ubuntu-20.04
os: [ubuntu-18.04]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -74,7 +75,7 @@ jobs:
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
runs-on: ubuntu-18.04
steps:
- name: Check for failures
if: contains(needs.test.result, 'failure')
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/test-integration-aws_lambda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.7"]
# python3.6 reached EOL and is no longer being supported on
# new versions of hosted runners on Github Actions
# ubuntu-20.04 is the last version that supported python3.6
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
os: [ubuntu-20.04]
# python2.7 is no longer being supported in new versions of hosted
# runners on Github Actions
# ubuntu-18.04 is the last version that supported python2.7
# see https://github.com/actions/setup-python/issues/672
# note: same issue with 3.6, which needs at most ubuntu-20.04
os: [ubuntu-18.04]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -74,7 +75,7 @@ jobs:
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
runs-on: ubuntu-18.04
steps:
- name: Check for failures
if: contains(needs.test.result, 'failure')
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/test-integration-beam.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.7"]
# python3.6 reached EOL and is no longer being supported on
# new versions of hosted runners on Github Actions
# ubuntu-20.04 is the last version that supported python3.6
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
os: [ubuntu-20.04]
# python2.7 is no longer being supported in new versions of hosted
# runners on Github Actions
# ubuntu-18.04 is the last version that supported python2.7
# see https://github.com/actions/setup-python/issues/672
# note: same issue with 3.6, which needs at most ubuntu-20.04
os: [ubuntu-18.04]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -74,7 +75,7 @@ jobs:
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
runs-on: ubuntu-18.04
steps:
- name: Check for failures
if: contains(needs.test.result, 'failure')
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/test-integration-boto3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ jobs:
fail-fast: false
matrix:
python-version: ["2.7","3.6","3.7","3.8"]
# python3.6 reached EOL and is no longer being supported on
# new versions of hosted runners on Github Actions
# ubuntu-20.04 is the last version that supported python3.6
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
os: [ubuntu-20.04]
# python2.7 is no longer being supported in new versions of hosted
# runners on Github Actions
# ubuntu-18.04 is the last version that supported python2.7
# see https://github.com/actions/setup-python/issues/672
# note: same issue with 3.6, which needs at most ubuntu-20.04
os: [ubuntu-18.04]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -74,7 +75,7 @@ jobs:
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
runs-on: ubuntu-18.04
steps:
- name: Check for failures
if: contains(needs.test.result, 'failure')
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/test-integration-bottle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ jobs:
fail-fast: false
matrix:
python-version: ["2.7","3.5","3.6","3.7","3.8","3.9","3.10","3.11"]
# python3.6 reached EOL and is no longer being supported on
# new versions of hosted runners on Github Actions
# ubuntu-20.04 is the last version that supported python3.6
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
os: [ubuntu-20.04]
# python2.7 is no longer being supported in new versions of hosted
# runners on Github Actions
# ubuntu-18.04 is the last version that supported python2.7
# see https://github.com/actions/setup-python/issues/672
# note: same issue with 3.6, which needs at most ubuntu-20.04
os: [ubuntu-18.04]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -74,7 +75,7 @@ jobs:
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
runs-on: ubuntu-18.04
steps:
- name: Check for failures
if: contains(needs.test.result, 'failure')
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/test-integration-celery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ jobs:
fail-fast: false
matrix:
python-version: ["2.7","3.5","3.6","3.7","3.8","3.9","3.10"]
# python3.6 reached EOL and is no longer being supported on
# new versions of hosted runners on Github Actions
# ubuntu-20.04 is the last version that supported python3.6
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
os: [ubuntu-20.04]
# python2.7 is no longer being supported in new versions of hosted
# runners on Github Actions
# ubuntu-18.04 is the last version that supported python2.7
# see https://github.com/actions/setup-python/issues/672
# note: same issue with 3.6, which needs at most ubuntu-20.04
os: [ubuntu-18.04]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -74,7 +75,7 @@ jobs:
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
runs-on: ubuntu-18.04
steps:
- name: Check for failures
if: contains(needs.test.result, 'failure')
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/test-integration-chalice.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.6","3.7","3.8"]
# python3.6 reached EOL and is no longer being supported on
# new versions of hosted runners on Github Actions
# ubuntu-20.04 is the last version that supported python3.6
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
os: [ubuntu-20.04]
# python2.7 is no longer being supported in new versions of hosted
# runners on Github Actions
# ubuntu-18.04 is the last version that supported python2.7
# see https://github.com/actions/setup-python/issues/672
# note: same issue with 3.6, which needs at most ubuntu-20.04
os: [ubuntu-18.04]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -74,7 +75,7 @@ jobs:
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
runs-on: ubuntu-18.04
steps:
- name: Check for failures
if: contains(needs.test.result, 'failure')
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/test-integration-cloud_resource_context.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.6","3.7","3.8","3.9","3.10","3.11"]
# python3.6 reached EOL and is no longer being supported on
# new versions of hosted runners on Github Actions
# ubuntu-20.04 is the last version that supported python3.6
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
os: [ubuntu-20.04]
# python2.7 is no longer being supported in new versions of hosted
# runners on Github Actions
# ubuntu-18.04 is the last version that supported python2.7
# see https://github.com/actions/setup-python/issues/672
# note: same issue with 3.6, which needs at most ubuntu-20.04
os: [ubuntu-18.04]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -74,7 +75,7 @@ jobs:
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
runs-on: ubuntu-18.04
steps:
- name: Check for failures
if: contains(needs.test.result, 'failure')
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/test-integration-django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ jobs:
fail-fast: false
matrix:
python-version: ["2.7","3.5","3.6","3.7","3.8","3.9","3.10","3.11"]
# python3.6 reached EOL and is no longer being supported on
# new versions of hosted runners on Github Actions
# ubuntu-20.04 is the last version that supported python3.6
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
os: [ubuntu-20.04]
# python2.7 is no longer being supported in new versions of hosted
# runners on Github Actions
# ubuntu-18.04 is the last version that supported python2.7
# see https://github.com/actions/setup-python/issues/672
# note: same issue with 3.6, which needs at most ubuntu-20.04
os: [ubuntu-18.04]
services:
postgres:
image: postgres
Expand Down Expand Up @@ -92,7 +93,7 @@ jobs:
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
runs-on: ubuntu-18.04
steps:
- name: Check for failures
if: contains(needs.test.result, 'failure')
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/test-integration-falcon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ jobs:
fail-fast: false
matrix:
python-version: ["2.7","3.5","3.6","3.7","3.8","3.9"]
# python3.6 reached EOL and is no longer being supported on
# new versions of hosted runners on Github Actions
# ubuntu-20.04 is the last version that supported python3.6
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
os: [ubuntu-20.04]
# python2.7 is no longer being supported in new versions of hosted
# runners on Github Actions
# ubuntu-18.04 is the last version that supported python2.7
# see https://github.com/actions/setup-python/issues/672
# note: same issue with 3.6, which needs at most ubuntu-20.04
os: [ubuntu-18.04]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -74,7 +75,7 @@ jobs:
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
runs-on: ubuntu-18.04
steps:
- name: Check for failures
if: contains(needs.test.result, 'failure')
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/test-integration-fastapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ jobs:
fail-fast: false
matrix:
python-version: ["3.7","3.8","3.9","3.10","3.11"]
# python3.6 reached EOL and is no longer being supported on
# new versions of hosted runners on Github Actions
# ubuntu-20.04 is the last version that supported python3.6
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
os: [ubuntu-20.04]
# python2.7 is no longer being supported in new versions of hosted
# runners on Github Actions
# ubuntu-18.04 is the last version that supported python2.7
# see https://github.com/actions/setup-python/issues/672
# note: same issue with 3.6, which needs at most ubuntu-20.04
os: [ubuntu-18.04]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -74,7 +75,7 @@ jobs:
needs: test
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
runs-on: ubuntu-18.04
steps:
- name: Check for failures
if: contains(needs.test.result, 'failure')
Expand Down
Loading

0 comments on commit cd30a3e

Please sign in to comment.