Skip to content

Commit

Permalink
whoops, cant use containers on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jrushlow committed Jan 25, 2024
1 parent 3d71b84 commit 56d8f9d
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions .github/workflows/ci-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,29 @@ jobs:
fail-fast: false
matrix:
php-versions: [8.2]
services:
mysql:
image: mysql:5.7
env:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: test_maker
ports:
- 3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
# services:
# mysql:
# image: mysql:5.7
# env:
# MYSQL_ROOT_PASSWORD: root
# MYSQL_DATABASE: test_maker
# ports:
# - 3306
# options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3

steps:
- name: Checkout
uses: actions/checkout@v4

- name: "Verify MySQL connection from host"
- name: Install MySql
run: |
choco install mysql
- name: Set MySql Root Password
run: |
mysqladmin --user=root password "root"
- name: Verify MySQL connection from host
run: |
mysql --host 127.0.0.1 --port 3306 -uroot -proot -e "SHOW DATABASES;"
Expand Down

0 comments on commit 56d8f9d

Please sign in to comment.