mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 02:39:08 -07:00
dev-python/cfn-lint: run tests in serial
Closes: https://bugs.gentoo.org/918670 Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -7,7 +7,7 @@ DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_NO_NORMALIZE=1
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit distutils-r1 multiprocessing pypi
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="CloudFormation Linter"
|
||||
HOMEPAGE="
|
||||
@@ -33,11 +33,6 @@ RDEPEND="
|
||||
>=dev-python/sarif-om-1.0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/sympy-1.0.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
@@ -66,5 +61,5 @@ python_test() {
|
||||
# from tox.ini
|
||||
local -x AWS_DEFAULT_REGION=us-east-1
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
epytest -p xdist -n "$(makeopts_jobs)" --dist=worksteal
|
||||
epytest
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_NO_NORMALIZE=1
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit distutils-r1 multiprocessing pypi
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="CloudFormation Linter"
|
||||
HOMEPAGE="
|
||||
@@ -33,11 +33,6 @@ RDEPEND="
|
||||
>=dev-python/sarif-om-1.0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/sympy-1.0.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
@@ -66,5 +61,5 @@ python_test() {
|
||||
# from tox.ini
|
||||
local -x AWS_DEFAULT_REGION=us-east-1
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
epytest -p xdist -n "$(makeopts_jobs)" --dist=worksteal
|
||||
epytest
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_NO_NORMALIZE=1
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit distutils-r1 multiprocessing pypi
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="CloudFormation Linter"
|
||||
HOMEPAGE="
|
||||
@@ -33,11 +33,6 @@ RDEPEND="
|
||||
>=dev-python/sarif-om-1.0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/sympy-1.0.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
@@ -66,5 +61,5 @@ python_test() {
|
||||
# from tox.ini
|
||||
local -x AWS_DEFAULT_REGION=us-east-1
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
epytest -p xdist -n "$(makeopts_jobs)" --dist=worksteal
|
||||
epytest
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user