ci: move pytest.ini and use it within the test container
ZeroDownTime/sns-alert-hub/pipeline/head There was a failure building this commit Details

This commit is contained in:
Stefan Reimer 2022-02-24 12:57:14 +01:00
parent 9e7298478d
commit 8fef66c4e9
2 changed files with 1 additions and 1 deletions

View File

@ -23,4 +23,4 @@ ADD tests /app/tests
# Run tests # Run tests
ENTRYPOINT [] ENTRYPOINT []
CMD [ "/usr/local/bin/python", "-m", "pytest", "tests", "--capture=tee-sys" ] CMD /usr/local/bin/python -m pytest tests -c tests/pytest.ini --capture=tee-sys