diff --git a/.github/workflows/debug-artifacts.yml b/.github/workflows/debug-artifacts.yml index 24c77acb2..145ce6f97 100644 --- a/.github/workflows/debug-artifacts.yml +++ b/.github/workflows/debug-artifacts.yml @@ -19,8 +19,31 @@ jobs: upload-artifacts: strategy: matrix: - os: [ubuntu-latest, macos-latest] - version: [stable-20210308, stable-20210319, stable-20210809, cached, latest, nightly-latest] + include: + - os: ubuntu-20.04 + version: stable-20210308 + - os: macos-latest + version: stable-20210308 + - os: ubuntu-20.04 + version: stable-20210319 + - os: macos-latest + version: stable-20210319 + - os: ubuntu-20.04 + version: stable-20210809 + - os: macos-latest + version: stable-20210809 + - os: ubuntu-latest + version: cached + - os: macos-latest + version: cached + - os: ubuntu-latest + version: latest + - os: macos-latest + version: latest + - os: ubuntu-latest + version: nightly-latest + - os: macos-latest + version: nightly-latest name: Upload debug artifacts timeout-minutes: 45 runs-on: ${{ matrix.os }} @@ -58,11 +81,15 @@ jobs: - name: Check expected artifacts exist shell: bash run: | - OPERATING_SYSTEMS="ubuntu-latest macos-latest" VERSIONS="stable-20210308 stable-20210319 stable-20210809 cached latest nightly-latest" LANGUAGES="cpp csharp go java javascript python" - for os in $OPERATING_SYSTEMS; do - for version in $VERSIONS; do + for version in $VERSIONS; do + if [[ "$version" =~ stable-(20210308|20210319|20210809) ]]; then + OPERATING_SYSTEMS="ubuntu-20.04 macos-latest" + else + OPERATING_SYSTEMS="ubuntu-latest macos-latest" + fi + for os in $OPERATING_SYSTEMS; do pushd "./my-debug-artifacts-$os-$version" echo "Artifacts from version $version on $os:" for language in $LANGUAGES; do diff --git a/.github/workflows/python-deps.yml b/.github/workflows/python-deps.yml index 9f43459da..eeb6d88ea 100644 --- a/.github/workflows/python-deps.yml +++ b/.github/workflows/python-deps.yml @@ -26,7 +26,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, ubuntu-22.04, macos-latest] + os: [ubuntu-20.04, ubuntu-22.04, macos-latest] python_deps_type: [pipenv, poetry, requirements, setup_py] python_version: [2, 3] exclude: @@ -65,7 +65,7 @@ jobs: cd $GITHUB_WORKSPACE/python-setup/tests/${PYTHON_DEPS_TYPE}/requests-${PYTHON_VERSION} case ${{ matrix.os }} in - ubuntu-latest*) basePath="/opt";; + ubuntu-20.04*) basePath="/opt";; ubuntu-22.04*) basePath="/opt";; macos-latest*) basePath="/Users/runner";; esac @@ -90,7 +90,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, ubuntu-22.04, macos-latest] + os: [ubuntu-20.04, ubuntu-22.04, macos-latest] steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it @@ -112,7 +112,7 @@ jobs: cd $GITHUB_WORKSPACE/python-setup/tests/requirements/non-standard-location case ${{ matrix.os }} in - ubuntu-latest*) basePath="/opt";; + ubuntu-20.04*) basePath="/opt";; ubuntu-22.04*) basePath="/opt";; macos-latest*) basePath="/Users/runner";; esac diff --git a/.github/workflows/unset-environment-new-cli.yml b/.github/workflows/unset-environment-new-cli.yml index 39da1b36c..959a1663a 100644 --- a/.github/workflows/unset-environment-new-cli.yml +++ b/.github/workflows/unset-environment-new-cli.yml @@ -21,7 +21,7 @@ jobs: strategy: matrix: include: - - os: ubuntu-latest + - os: ubuntu-20.04 version: stable-20210809 - os: ubuntu-latest version: cached diff --git a/.github/workflows/unset-environment-old-cli.yml b/.github/workflows/unset-environment-old-cli.yml index 281ced054..30ec0dd1a 100644 --- a/.github/workflows/unset-environment-old-cli.yml +++ b/.github/workflows/unset-environment-old-cli.yml @@ -24,9 +24,9 @@ jobs: strategy: matrix: include: - - os: ubuntu-latest + - os: ubuntu-20.04 version: stable-20210308 - - os: ubuntu-latest + - os: ubuntu-20.04 version: stable-20210319 name: Test unsetting environment variables timeout-minutes: 45