Skip to content

Commit

Permalink
Fix deploy action (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aiee authored Nov 2, 2021
1 parent 14b645e commit c94bd37
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 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
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

setup(
name='nebula2-python',
version='2.5.0',
version='2.6.0',
license='Apache 2.0 + Common Clause 1.0',
author='vesoft-inc',
author_email='info@vesoft.com',
Expand Down

0 comments on commit c94bd37

Please sign in to comment.