diff --git a/.github/ubuntu/all-apt-prereqs.sh b/.github/ubuntu/all-apt-prereqs.sh index 461dd91e..4c8435e1 100755 --- a/.github/ubuntu/all-apt-prereqs.sh +++ b/.github/ubuntu/all-apt-prereqs.sh @@ -1,11 +1,12 @@ set -e sudo apt-get update -qq +sudo apt-get remove -qq mysql-common # https://github.com/actions/virtual-environments/issues/5067#issuecomment-1038752575 sudo env DEBIAN_FRONTEND=noninteractive apt-get install -qq \ libicu-dev gettext aspell-en software-properties-common \ curl unixodbc-dev odbcinst unixodbc \ default-jre \ firebird-dev firebird3.0-utils \ + mysql-client default-libmysqlclient-dev \ libarchive-tools - # mysql-client default-libmysqlclient-dev \ cat t/odbc/odbcinst.ini | sudo tee -a /etc/odbcinst.ini diff --git a/.github/ubuntu/mysql.sh b/.github/ubuntu/mysql.sh index 5e378554..e25180b7 100755 --- a/.github/ubuntu/mysql.sh +++ b/.github/ubuntu/mysql.sh @@ -5,5 +5,6 @@ set -e # Download dependencies. if [ -z "$SKIP_DEPENDS" ]; then sudo apt-get update -qq + sudo apt-get remove -qq mysql-common # https://github.com/actions/virtual-environments/issues/5067#issuecomment-1038752575 sudo env DEBIAN_FRONTEND=noninteractive apt-get install -qq mysql-client default-libmysqlclient-dev fi diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 551116e4..2ab2e7fd 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -52,7 +52,7 @@ jobs: .github/ubuntu/all-apt-prereqs.sh .github/ubuntu/exasol.sh .github/ubuntu/firebird.sh - # .github/ubuntu/mysql.sh + .github/ubuntu/mysql.sh .github/ubuntu/oracle.sh .github/ubuntu/pg.sh .github/ubuntu/snowflake.sh diff --git a/.github/workflows/mysql.yml b/.github/workflows/mysql.yml index 722bc8ea..989fc2d6 100644 --- a/.github/workflows/mysql.yml +++ b/.github/workflows/mysql.yml @@ -36,8 +36,8 @@ jobs: options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3 steps: - uses: actions/checkout@v2 - # - name: Setup Clients - # run: .github/ubuntu/mysql.sh + - name: Setup Clients + run: .github/ubuntu/mysql.sh - name: Setup Perl id: perl uses: shogo82148/actions-setup-perl@v1