Skip to content

Commit

Permalink
Merge pull request #159 from creative-commoners/pulls/1/mysql84
Browse files Browse the repository at this point in the history
ENH Add MySQL 8.4
  • Loading branch information
GuySartorelli authored Nov 19, 2024
2 parents 48432cf + 9bf148c commit 736273c
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,15 @@ jobs:
ports:
- 3380:3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=10
mysql84:
image: mysql:8.4
env:
MYSQL_HOST: 127.0.0.1
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: SS_mysite
ports:
- 3384:3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=10
postgres:
image: postgres
env:
Expand Down Expand Up @@ -783,7 +792,12 @@ jobs:
SS_DATABASE_PORT="3357"
EOF
else
MYSQL_PORT=${{ matrix.db == 'mysql57' && '3357' || '3380' }}
MYSQL_PORT=3357
if [[ "${{ matrix.db }}" == "mysql80" ]]; then
MYSQL_PORT=3380
elif [[ "${{ matrix.db }}" == "mysql84" ]]; then
MYSQL_PORT=3384
fi
echo "mysql version":
mysql --host=127.0.0.1 --user=root --password=root --port=$MYSQL_PORT --execute="SELECT VERSION();" || true
cat << EOF > .env
Expand Down

0 comments on commit 736273c

Please sign in to comment.