Skip to content

Commit

Permalink
mysql config
Browse files Browse the repository at this point in the history
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
  • Loading branch information
shlomi-noach committed Aug 16, 2023
1 parent 8f599da commit c76503d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ jobs:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: test
ports:
- 3306/tcp
- 3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3

steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 1 addition & 2 deletions script/ci-github.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ echo "${create_t1}" | schemadiff load > $output_file

grep -q 'CREATE TABLE' $output_file

# alias my='mysql -uroot -proot --host 127.0.0.1 --port 3306'
alias my='mysql -uroot -p""'
alias my='mysql -uroot -proot --host 127.0.0.1 --port 3306'
my -e "create database if not exists test"
echo "${create_t1}" | my test

Expand Down

0 comments on commit c76503d

Please sign in to comment.