diff --git a/mx.ini b/mx.ini new file mode 100644 index 00000000..1853395d --- /dev/null +++ b/mx.ini @@ -0,0 +1,4 @@ +[settings] +ignores = + plone.app.multilingual +main-package = -e .[test] diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000..00e902ab --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +-c https://dist.plone.org/release/6.1-dev/constraints.txt diff --git a/tox.ini b/tox.ini index c3cf1a27..4457cd28 100644 --- a/tox.ini +++ b/tox.ini @@ -74,9 +74,6 @@ commands = [testenv:test] description = run the distribution tests -use_develop = true -skip_install = false -constrain_package_deps = true set_env = ROBOT_BROWSER=headlesschrome @@ -88,6 +85,7 @@ set_env = # """ ## deps = + mxdev zope.testrunner -c https://dist.plone.org/release/6.1-dev/constraints.txt ## @@ -95,6 +93,9 @@ deps = # [tox] # constraints_file = "https://my-server.com/constraints.txt" ## +commands_pre = + mxdev -c mx.ini + pip install -rrequirements-mxdev.txt commands = zope-testrunner --all --test-path={toxinidir}/src -s plone.app.multilingual {posargs} extras = @@ -111,9 +112,6 @@ extras = [testenv:coverage] description = get a test coverage report -use_develop = true -skip_install = false -constrain_package_deps = true set_env = ROBOT_BROWSER=headlesschrome @@ -128,6 +126,9 @@ deps = coverage zope.testrunner -c https://dist.plone.org/release/6.1-dev/constraints.txt +commands_pre = + mxdev -c mx.ini + pip install -rrequirements-mxdev.txt commands = coverage run --branch --source plone.app.multilingual {envbindir}/zope-testrunner --quiet --all --test-path={toxinidir}/src -s plone.app.multilingual {posargs} coverage report -m --format markdown @@ -154,8 +155,6 @@ commands = [testenv:circular] description = ensure there are no cyclic dependencies -use_develop = true -skip_install = false set_env = ## @@ -168,9 +167,13 @@ set_env = allowlist_externals = sh deps = + mxdev pipdeptree pipforester -c https://dist.plone.org/release/6.1-dev/constraints.txt +commands_pre = + mxdev -c mx.ini + pip install -rrequirements-mxdev.txt commands = # Generate the full dependency tree sh -c 'pipdeptree -j > forest.json'