diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b92d3ec25c15..587288211913 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,10 +1,6 @@ name: Continuous Integration -# Needed for gcloud because as of Nov 2022, gcloud only supports python 3.5-3.9 -# https://cloud.google.com/sdk/docs/install#supported_python_versions -# https://github.com/google-github-actions/setup-gcloud/issues/381#issuecomment-955631107 -# ubuntu-20.04 comes with python3.8. As a result, we can tell gcloud to use that. env: - CLOUDSDK_PYTHON: python3.8 + CLOUDSDK_PYTHON: python3.11 on: push: branches: @@ -12,11 +8,7 @@ on: pull_request: jobs: python_tests: - # Need to use 20.04 because ubuntu-latest uses ubuntu-22.04. - # 22.04 comes with python 3.10 and that does not work with gcloud. - # https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners - # Refer to CLOUDSDK_PYTHON above for more details. - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/web_tests.yml b/.github/workflows/web_tests.yml index 381e9dbb9d35..4b845cada8cd 100644 --- a/.github/workflows/web_tests.yml +++ b/.github/workflows/web_tests.yml @@ -1,10 +1,6 @@ name: Continuous Integration Web Tests -# Needed for gcloud because as of Nov 2022, gcloud only supports python 3.5-3.9 -# https://cloud.google.com/sdk/docs/install#supported_python_versions -# https://github.com/google-github-actions/setup-gcloud/issues/381#issuecomment-955631107 -# ubuntu-20.04 comes with python3.8. As a result, we can tell gcloud to use that. env: - CLOUDSDK_PYTHON: python3.8 + CLOUDSDK_PYTHON: python3.11 on: push: branches: @@ -13,11 +9,7 @@ on: jobs: web_tests: - # Need to use 20.04 because ubuntu-latest uses ubuntu-22.04. - # 22.04 comes with python 3.10 and that does not work with gcloud. - # https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners - # Refer to CLOUDSDK_PYTHON above for more details. - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest strategy: matrix: