Skip to content

Commit

Permalink
Fix deploy action (#166)
Browse files Browse the repository at this point in the history
* Fix deploy action (#165)

* Set Nebula mirror version to v2.6.0 in yaml

* Update README
  • Loading branch information
Aiee authored Nov 2, 2021
1 parent 9a22f81 commit f9e8b11
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions .github/workflows/deploy_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f9e8b11

Please sign in to comment.