From f9e8b1151888dd257bc48330f6f06c090b0f9ef8 Mon Sep 17 00:00:00 2001 From: Yichen Wang <18348405+Aiee@users.noreply.github.com> Date: Tue, 2 Nov 2021 14:27:06 +0800 Subject: [PATCH] Fix deploy action (#166) * Fix deploy action (#165) * Set Nebula mirror version to v2.6.0 in yaml * Update README --- .github/workflows/deploy_release.yaml | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deploy_release.yaml b/.github/workflows/deploy_release.yaml index 7a490814..5b10b9b9 100644 --- a/.github/workflows/deploy_release.yaml +++ b/.github/workflows/deploy_release.yaml @@ -20,17 +20,23 @@ jobs: - name: Test with pytest run: | - mkdir tmp - pushd tmp - git clone https://github.com/vesoft-inc/nebula-docker-compose.git - pushd nebula-docker-compose/ - cp ../../tests/docker-compose.yaml ./ docker-compose up -d - sleep 60 - popd - popd - cd tests - pytest -s -v + sleep 45 + pytest -s -v -k "not TestSSLConnection and not TestSSLConnectionSelfSigned" + docker-compose down -v + working-directory: tests + - name: Test SSL connection with pytest + run: | + enable_ssl=true docker-compose up -d + sleep 45 + pytest -s -v test_ssl_connection.py::TestSSLConnection + working-directory: tests + - name: Test self-signed SSL connection with pytest + run: | + enable_ssl=true docker-compose up -d + sleep 45 + pytest -s -v test_ssl_connection.py::TestSSLConnectionSelfSigned + working-directory: tests - name: Build and publish env: