python3-pytest-picked: Add recipe for version 0.5.1
PATCH v4 1/1 python3-pytest-picked: Add recipe for version 0.5.1
Python package description: Run the tests related to the unstaged files or the current branch (according to Git) More information: https://pypi.org/project/pytest-picked/
Signed-off-by Tom Geelen <[email protected]>
--- .../ptest-packagelists-meta-python.inc | 1 + .../packagegroups/packagegroup-meta-python.bb | 1 + ...g-tests-to-capture-only-ptest-output.patch | 51 +++++++++++++++++++ .../python/python3-pytest-picked/run-ptest | 5 ++ .../python/python3-pytest-picked_0.5.1.bb | 20 ++++++++ 5 files changed, 78 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pytest-picked/0001-adjust-failing-tests-to-capture-only-ptest-output.patch create mode 100644 meta-python/recipes-devtools/python/python3-pytest-picked/run-ptest create mode 100644 meta-python/recipes-devtools/python/python3-pytest-picked_0.5.1.bb
meta-python/conf/include/ptest-packagelists-meta-python.inc +1 -0
@@ -76,6 +76,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-pyserial \ python3-pytest-httpx \ python3-pytest-mock \ + python3-pytest-picked \ python3-pytest-sugar \ python3-pytoml \ python3-pyyaml-include \
meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +1 -0
@@ -351,6 +351,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-pytest-httpx \ python3-pytest-lazy-fixtures \ python3-pytest-metadata \ + python3-pytest-picked\ python3-pytest-tempdir \ python3-pytest-timeout \ python3-pytest-xdist \
meta-python/recipes-devtools/python/python3-pytest-picked/0001-adjust-failing-tests-to-capture-only-ptest-output.patch new file +51 -0
51 lines not on this page · raw message
meta-python/recipes-devtools/python/python3-pytest-picked/run-ptest new file +5 -0
@@ -0,0 +1,5 @@ +#!/bin/sh + +# need to explicitly call the correct fixture as of pytest 8.x + +pytest -p pytester --automake
meta-python/recipes-devtools/python/python3-pytest-picked_0.5.1.bb new file +20 -0
@@ -0,0 +1,20 @@ +SUMMARY = "Run the tests related to the changed files" +HOMEPAGE = "https://github.com/anapaulagomes/pytest-picked" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=6d374a27c85c3fcc979009952ec16f1b" +RECIPE_MAINTAINER = "Tom Geelen <[email protected]>" + +SRC_URI += "file://run-ptest \ + file://0001-adjust-failing-tests-to-capture-only-ptest-output.patch \ + " +SRC_URI[sha256sum] = "6634c4356a560a5dc3dba35471865e6eb06bbd356b56b69c540593e9d5620ded" + +inherit pypi python_setuptools_build_meta ptest-python-pytest + +RDEPENDS:${PN} += "\ + git \ + python3-pytest (>=3.7.0) \ +" + +PYPI_PACKAGE = "pytest_picked" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
Signature · 1 line
2.43.0