Skip to content

Commit

Permalink
Merge pull request #451 from cyangle/fix_bash
Browse files Browse the repository at this point in the history
Fix bash syntax errors
  • Loading branch information
imdrasil authored Mar 18, 2024
2 parents 078251d + 6a70980 commit 5d9052b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/run_integration_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -exo pipefail

if [ $DB == 'postgres' ]
if [ "$DB" == "postgres" ]
then
sudo apt-get install postgresql-client -y
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/setup_mysql.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -exo pipefail

MYSQL="mysql:8.0"
MYSQL="mysql:8.0.30"
tries=0

sudo service mysql stop
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:

- name: Run specs
run: |
if [ $MT == '1' ]
if [ "$MT" = "1" ]
then
crystal spec -Dpreview_mt
else
Expand Down

0 comments on commit 5d9052b

Please sign in to comment.