From 8fef66c4e9639a1dcaada7fde3cfd9e8ac926254 Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Thu, 24 Feb 2022 12:57:14 +0100 Subject: [PATCH] ci: move pytest.ini and use it within the test container --- Dockerfile.test | 2 +- pytest.ini => tests/pytest.ini | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename pytest.ini => tests/pytest.ini (100%) diff --git a/Dockerfile.test b/Dockerfile.test index 6fb91e8..3315010 100644 --- a/Dockerfile.test +++ b/Dockerfile.test @@ -23,4 +23,4 @@ ADD tests /app/tests # Run tests 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 diff --git a/pytest.ini b/tests/pytest.ini similarity index 100% rename from pytest.ini rename to tests/pytest.ini