diff --git a/.github/run_integration_tests.sh b/.github/run_integration_tests.sh index 2f9532f6..184a04f6 100644 --- a/.github/run_integration_tests.sh +++ b/.github/run_integration_tests.sh @@ -2,7 +2,7 @@ set -exo pipefail -if [ $DB == 'postgres' ] +if [ "$DB" == "postgres" ] then sudo apt-get install postgresql-client -y fi diff --git a/.github/setup_mysql.sh b/.github/setup_mysql.sh index 81825528..2f7ffd44 100644 --- a/.github/setup_mysql.sh +++ b/.github/setup_mysql.sh @@ -2,7 +2,7 @@ set -exo pipefail -MYSQL="mysql:8.0" +MYSQL="mysql:8.0.30" tries=0 sudo service mysql stop diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1e37d762..e6ec17d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -96,22 +96,22 @@ jobs: DB: mysql - crystal_version: 1.10.1 DB: postgres - - crystal_version: 1.11.1 + - crystal_version: 1.11.2 DB: mysql integration: true linter: true - - crystal_version: 1.11.1 + - crystal_version: 1.11.2 DB: postgres integration: true linter: true - - crystal_version: 1.11.1 + - crystal_version: 1.11.2 DB: postgres other: MT=1 - - crystal_version: 1.11.1 + - crystal_version: 1.11.2 DB: postgres pair: true other: PAIR_DB_USER=root PAIR_DB_PASSWORD= - - crystal_version: 1.11.1 + - crystal_version: 1.11.2 DB: mysql pair: true other: PAIR_DB_USER=dbuser PAIR_DB_PASSWORD=dbpassword @@ -164,7 +164,7 @@ jobs: - name: Run specs run: | - if [ $MT == '1' ] + if [ "$MT" = "1" ] then crystal spec -Dpreview_mt else