Skip to content
Merged
Show file tree
Hide file tree
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
7 changes: 1 addition & 6 deletions .meta.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs = [
]

[tox]
skip_test_extra = true
use_test_matrix = false
envlist_lines = """
py{310,311,312,313,314}-{integration,unit}
Expand Down Expand Up @@ -65,17 +66,13 @@ deps = {[base-test]deps}
# Also, we need everything on one line.
commands =
zope-testrunner --test-path=test-packages/example.addon/src --test-path=test-packages/example.different/src --test-path=test-packages/example.different2/src --test-path=test-packages/example.metaoverrides/src --test-path=test-packages/example.ploneaddon/src --test-path=test-packages/example.ploneintegration/src --test-path=test-packages/example.zopeaddon/src --test-path=test-packages/example.zopeintegration/src --test-path=test-packages/example.multipleeps/src --test-path=test-packages/namespaceexample.native/src --test-path=test-packages/namespaceexample2.pkgresources/src --test-path=test-packages/namespaceexample.pkgutilns/src []
extras =
test

[testenv:py{310,311,312,313,314}-unit]
usedevelop = false
skip_install = true
deps = {[base-test]deps}
commands =
zope-testrunner --test-path=src
extras =
test

[testenv:owncoverage]
# Our setup is too different to use the standard coverage env from plone.meta.
Expand All @@ -84,8 +81,6 @@ skip_install = true
deps =
{[base-test]deps}
coverage
extras =
test
commands =
coverage run --branch --source plone.autoinclude {envbindir}/zope-testrunner --test-path={toxinidir}/src -s plone.autoinclude {posargs}
coverage report -m --format markdown
Expand Down
8 changes: 1 addition & 7 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,13 @@ deps = {[base-test]deps}
# Also, we need everything on one line.
commands =
zope-testrunner --test-path=test-packages/example.addon/src --test-path=test-packages/example.different/src --test-path=test-packages/example.different2/src --test-path=test-packages/example.metaoverrides/src --test-path=test-packages/example.ploneaddon/src --test-path=test-packages/example.ploneintegration/src --test-path=test-packages/example.zopeaddon/src --test-path=test-packages/example.zopeintegration/src --test-path=test-packages/example.multipleeps/src --test-path=test-packages/namespaceexample.native/src --test-path=test-packages/namespaceexample2.pkgresources/src --test-path=test-packages/namespaceexample.pkgutilns/src []
extras =
test

[testenv:py{310,311,312,313,314}-unit]
usedevelop = false
skip_install = true
deps = {[base-test]deps}
commands =
zope-testrunner --test-path=src
extras =
test

[testenv:owncoverage]
# Our setup is too different to use the standard coverage env from plone.meta.
Expand All @@ -76,8 +72,6 @@ skip_install = true
deps =
{[base-test]deps}
coverage
extras =
test
commands =
coverage run --branch --source plone.autoinclude {envbindir}/zope-testrunner --test-path={toxinidir}/src -s plone.autoinclude {posargs}
coverage report -m --format markdown
Expand Down Expand Up @@ -224,12 +218,12 @@ deps =
# constraints_file = "https://my-server.com/constraints.txt"
##
extras =
test


##
# Add extra configuration options in .meta.toml:
# [tox]
# skip_test_extra = true
# test_extras = """
# tests
# widgets
Expand Down