Skip to content

Commit

Permalink
test windows
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyangyu committed Jul 17, 2024
1 parent 4a29c28 commit 20d32fe
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/compatibility-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,8 @@ jobs:
needs: setup
strategy:
matrix:
os: [ ubuntu-24.04, windows-2022, macos-14 ]
os: [ windows-2022 ]
include:
- os: ubuntu-24.04
cert: /etc/ssl/certs/ca-certificates.crt
- os: macos-14
cert: /etc/ssl/cert.pem
- os: windows-2022
cert: ./example_code/x1.pem
runs-on: ${{ matrix.os }}
Expand All @@ -86,7 +82,7 @@ jobs:
uses: shogo82148/actions-setup-mysql@v1

- name: Run test on ${{ matrix.os }}
run: mysql -u ${{needs.setup.outputs.TIDB_CLOUD_USER}} -h ${{needs.setup.outputs.TIDB_CLOUD_HOST}} -P 4000 -D test --ssl-mode=VERIFY_IDENTITY --ssl-ca=${{ matrix.cert }} -p${{ secrets.TIDB_CLOUD_PASSWORD }}
run: $env:LIBMYSQL_PLUGIN_DIR='C:\hostedtoolcache\windows\mysql\9.0.0\x64'; mysql -u ${{needs.setup.outputs.TIDB_CLOUD_USER}} -h ${{needs.setup.outputs.TIDB_CLOUD_HOST}} -P 4000 -D test --ssl-mode=VERIFY_IDENTITY --ssl-ca=${{ matrix.cert }} -p${{ secrets.TIDB_CLOUD_PASSWORD }}

no_tls:
needs: setup
Expand Down

0 comments on commit 20d32fe

Please sign in to comment.