Skip to content

Commit

Permalink
ci: disable auth test
Browse files Browse the repository at this point in the history
  • Loading branch information
speed2exe committed May 28, 2024
1 parent 44e7a15 commit e40ce82
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/integrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,23 @@ jobs:
$HOME/zig-build/zig build integration_test --summary all
rm -rf zig-cache/ zig-out/
- name: Auth Test
run: |
# mysql_native_password
docker rm -f mysql_server
docker run --name mysql_server --env MYSQL_ROOT_PASSWORD=password -p 3306:3306 -d mysql \
--default-authentication-plugin=mysql_native_password
while ! wget -qO- localhost:3306; do sleep 1; docker ps -a; docker logs mysql_server; done
$HOME/zig-build/zig build integration_test -Dtest-filter="ping" --summary all
rm -rf zig-cache/ zig-out/
# sha2_password
docker rm -f mysql_server
docker run --name mysql_server --env MYSQL_ROOT_PASSWORD=password -p 3306:3306 -d mysql \
--default-authentication-plugin=sha256_password
while ! wget -qO- localhost:3306; do sleep 1; docker ps -a; done
$HOME/zig-build/zig build integration_test -Dtest-filter="ping" --summary all
rm -rf zig-cache/ zig-out/
# - name: Auth Test
# run: |
# # mysql_native_password
# docker rm -f mysql_server
# docker run --name mysql_server --env MYSQL_ROOT_PASSWORD=password -p 3306:3306 -d mysql \
# --default-authentication-plugin=mysql_native_password
# while ! wget -qO- localhost:3306; do sleep 1; docker ps -a; docker logs mysql_server; done
# $HOME/zig-build/zig build integration_test -Dtest-filter="ping" --summary all
# rm -rf zig-cache/ zig-out/

# # sha2_password
# docker rm -f mysql_server
# docker run --name mysql_server --env MYSQL_ROOT_PASSWORD=password -p 3306:3306 -d mysql \
# --default-authentication-plugin=sha256_password
# while ! wget -qO- localhost:3306; do sleep 1; docker ps -a; done
# $HOME/zig-build/zig build integration_test -Dtest-filter="ping" --summary all
# rm -rf zig-cache/ zig-out/

- name: Run Integration Tests - MariaDB
run: |
Expand Down

0 comments on commit e40ce82

Please sign in to comment.