From b5b56ae8cc652b73e737d66c42dc549529ead094 Mon Sep 17 00:00:00 2001 From: David Manthey Date: Fri, 25 Oct 2024 10:32:05 -0400 Subject: [PATCH] Adjust tox to make some tests somewhat faster --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 192af5c7d..517fa7b99 100644 --- a/tox.ini +++ b/tox.ini @@ -10,7 +10,7 @@ skip_missing_interpreters = true toxworkdir = {toxinidir}/build/tox [testenv] -passenv = PYTEST_*,COVERAGE_*,DICOMWEB_TEST_URL,DICOMWEB_TEST_TOKEN,GIRDER_BUILD_OPTIONS,PIP_*,CFLAGS +passenv = PYTEST_*,COVERAGE_*,DICOMWEB_TEST_*,REDIS_TEST_*,GIRDER_BUILD_OPTIONS,PIP_*,CFLAGS extras = memcached redis @@ -61,6 +61,8 @@ setenv = # Versions that do have all tile sources. Using the requirements-dev.txt file # installs in editable mode, which then includes results in coverage. [testenv:test-py{38,39,310,311,312,313}] +# Don't package for tests where we use editable modes +package=skip passenv = {[testenv:test]passenv} deps = -rrequirements-dev.txt