瀏覽代碼

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 2 年之前
父節點
當前提交
7ee37a890e
共有 2 個文件被更改,包括 3 次插入0 次删除
  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