diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 0208c35..3cff302 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -34,9 +34,7 @@ jobs: ENV_MAIL_PASSWORD: ${{ secrets.ENV_MAIL_PASSWORD }} ENV_SECRET_KEY: ${{ secrets.ENV_SECRET_KEY }} run: | - cd webapi - if [ -f crud_data.db ]; then rm -f crud_data.db; fi - pytest tests/test_release.py -v + pytest webapi/tests/test_release.py -vv -ra container-smoke-test: name: Container Build & Healthcheck Smoke Test diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f629665..4dc0f4e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -36,8 +36,7 @@ jobs: ENV_MAIL_PASSWORD: ${{ secrets.ENV_MAIL_PASSWORD }} ENV_SECRET_KEY: ${{ secrets.ENV_SECRET_KEY }} run: | - cd webapi - pytest tests/test_ci.py -v + pytest webapi/tests/test_ci.py -vv -ra container-smoke-test: name: Container Build & Healthcheck Smoke Test diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 0000000..2c2dad0 --- /dev/null +++ b/pytest.ini @@ -0,0 +1,2 @@ +[pytest] +addopts = -v