From d6aef816c16d3f2333c4016c71f052ecc0842b51 Mon Sep 17 00:00:00 2001 From: Aiee <18348405+Aiee@users.noreply.github.com> Date: Mon, 25 Apr 2022 16:45:35 +0800 Subject: [PATCH] Fix deploy action --- .github/workflows/deploy_release.yaml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/deploy_release.yaml b/.github/workflows/deploy_release.yaml index ec42d1ed..9d2be4be 100644 --- a/.github/workflows/deploy_release.yaml +++ b/.github/workflows/deploy_release.yaml @@ -18,18 +18,18 @@ jobs: pip3 install setuptools wheel twine pip install . pip install -r requirements/dev.txt - - name: Test with pytest - run: | - docker-compose -f docker-compose.yaml up -d - sleep 45 - pytest -s -v -k "not SSL" - working-directory: tests - - name: Test SSL connection with pytest - run: | - enable_ssl=true docker-compose -f docker-compose-ssl.yaml up -d - sleep 45 - pytest -s -v -k "SSL" - working-directory: tests + - name: Test with pytest + run: | + docker-compose -f docker-compose.yaml up -d + sleep 45 + pytest -s -v -k "not SSL" + working-directory: tests + - name: Test SSL connection with pytest + run: | + enable_ssl=true docker-compose -f docker-compose-ssl.yaml up -d + sleep 45 + pytest -s -v -k "SSL" + working-directory: tests - name: Build and publish env: