From 7ee37a890ed66d8529b93f5fb27d79ac3ee5a0d8 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Fri, 14 Apr 2023 23:22:07 -0700 Subject: [PATCH] Fix broken end-to-end tests by no longer using an editable package there, a work-around for https://github.com/pypa/packaging-problems/issues/609 --- tests/end-to-end/docker-compose.yaml | 1 + tox.ini | 2 ++ 2 files changed, 3 insertions(+) diff --git a/tests/end-to-end/docker-compose.yaml b/tests/end-to-end/docker-compose.yaml index e6b0bf2..0bbec8c 100644 --- a/tests/end-to-end/docker-compose.yaml +++ b/tests/end-to-end/docker-compose.yaml @@ -23,6 +23,7 @@ services: - "../..:/app:ro" tmpfs: - "/app/borgmatic.egg-info" + - "/app/build" tty: true working_dir: /app entrypoint: /app/scripts/run-full-tests diff --git a/tox.ini b/tox.ini index b81588a..3a2b476 100644 --- a/tox.ini +++ b/tox.ini @@ -27,7 +27,9 @@ commands = pytest {posargs} [testenv:end-to-end] +usedevelop = False deps = -rtest_requirements.txt + . passenv = COVERAGE_FILE commands = pytest {posargs} --no-cov tests/end-to-end