Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions location/tox.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
[tox]
minversion = 4.0

[common]
deps =
pytest>=6
pytest-cov

[testenv]
description = run the tests with pytest
package = wheel
wheel_build_env = .pkg
deps =
pytest>=6
pytest-cov
{[common]deps}
# The packages it depends on come from this checkout rather than a
# package index, so the tests run with the code they are released with.
-e../pipeline/fiftyone_pipeline_core/
Expand All @@ -21,8 +25,11 @@ pass_env =
_51DEGREES_LICENSE_KEY
license_key

# Tests the packages just built, so it takes the test tools from [common]
# and every package from the requirements file, never the editable copies
# above, which pip refuses beside a built copy of the same package.
[testenv:pre-publish]
package = skip
deps =
{[testenv]deps}
{[common]deps}
-r ../../package/pre-publish-requirements.txt
Loading