Skip to content

Commit

Permalink
Switch Github runners to Ubuntu 20.04
Browse files Browse the repository at this point in the history
Temporary until microsoft/mssql-docker#899 is resolved.
  • Loading branch information
wendigo committed Sep 19, 2024
1 parent 3c1b11c commit b96d6af
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ jobs:
- { modules: plugin/trino-singlestore }
- { modules: plugin/trino-snowflake }
- { modules: plugin/trino-snowflake, profile: cloud-tests }
- { modules: plugin/trino-sqlserver }
- { modules: plugin/trino-sqlserver, runson: ubuntu-20.04 }
- { modules: testing/trino-faulttolerant-tests, profile: default }
- { modules: testing/trino-faulttolerant-tests, profile: test-fault-tolerant-delta }
- { modules: testing/trino-faulttolerant-tests, profile: test-fault-tolerant-hive }
Expand All @@ -496,7 +496,7 @@ jobs:
echo "matrix=$(jq -c '.' matrix.json)" >> $GITHUB_OUTPUT
test:
runs-on: ubuntu-latest
runs-on: ${{ matrix.runson || 'ubuntu-latest' }}
needs: build-test-matrix
if: needs.build-test-matrix.outputs.matrix != '{}'
strategy:
Expand Down Expand Up @@ -873,7 +873,6 @@ jobs:
# suite-4 does not exist
- suite-5
- suite-6-non-generic
- suite-7-non-generic
- suite-hive-transactional
- suite-azure
- suite-delta-lake-databricks91
Expand Down Expand Up @@ -953,6 +952,10 @@ jobs:
# this suite is designed specifically for apache-hive3. TODO remove the suite once we can run all regular tests on apache-hive3.
- config: apache-hive3
suite: suite-hms-only
# Workaround for https://github.com/microsoft/mssql-docker/issues/899
- config: default
suite: suite-7-non-generic
runson: ubuntu-20.04
EOF
- name: Build PT matrix (all)
if: |
Expand Down Expand Up @@ -1007,7 +1010,7 @@ jobs:
echo "matrix=$(cat matrix.json)" >> $GITHUB_OUTPUT
pt:
runs-on: ubuntu-latest
runs-on: ${{ matrix.runson || 'ubuntu-latest' }}
# explicitly define the name to avoid adding the value of the `ignore exclusion if` matrix item
name: pt (${{ matrix.config }}, ${{ matrix.suite }}, ${{ matrix.jdk }})
if: needs.build-pt.outputs.matrix != '{}'
Expand Down

0 comments on commit b96d6af

Please sign in to comment.