Parcourir la source

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

Dan Helfman il y a 2 ans
Parent
commit
7ee37a890e
2 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 1 0
      tests/end-to-end/docker-compose.yaml
  2. 2 0
      tox.ini

+ 1 - 0
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

+ 2 - 0
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