Skip to content

Commit

Permalink
Merge pull request #1702 from girder/tox-adjustment
Browse files Browse the repository at this point in the history
Adjust tox to make some tests somewhat faster
  • Loading branch information
manthey authored Oct 25, 2024
2 parents c8fda2d + cff31ec commit 99405bb
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
4 changes: 3 additions & 1 deletion requirements-dev-osx.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ girder-jobs>=3.0.3
-e girder/.
-e girder_annotation/.
-e sources/zarr

# Extras from main setup.py
pylibmc>=1.5.1
matplotlib
pylibmc>=1.5.1
redis
simplejpeg

# External dependencies
Expand Down
3 changes: 2 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ girder-jobs>=3.0.3
-e girder_annotation/.[compute]

# Extras from main setup.py
pylibmc>=1.5.1
matplotlib
pylibmc>=1.5.1
redis
simplejpeg

# External dependencies
Expand Down
3 changes: 2 additions & 1 deletion requirements-test-core.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ sources/mapnik
utilities/converter[stats]

# Extras from main setup.py
pylibmc>=1.5.1
matplotlib
pylibmc>=1.5.1
redis
simplejpeg

# External dependencies
Expand Down
3 changes: 2 additions & 1 deletion requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ girder/.
girder_annotation/.

# Extras from main setup.py
pylibmc>=1.5.1
matplotlib
pylibmc>=1.5.1
redis
simplejpeg

# External dependencies
Expand Down
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -61,7 +61,10 @@ 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}
extras = {[testenv:test]extras}
deps =
-rrequirements-dev.txt
coverage
Expand Down

0 comments on commit 99405bb

Please sign in to comment.