Note
Forked via pypi from https://pypi.org/project/pytest-codeowners/
I extracted this from their pip package because I can't get to the git repo (https://github.com/Iress/pytest-codeowners). Apparently they have a policy in their github org that blocks all US IPs?
Pytest plugin for selecting tests by GitHub CODEOWNERS.
Install with:
pip install pytest-codeownersLike so:
pytest --codeowners-file docs/CODEOWNERS \
--codeowners-owner @org/team-name \
--codeowners-owner my@email.com \
--codeowners-owner @MyUsernameTo build this library as a wheel:
python setup.py bdist_wheel --universalFirst, make sure you install the package:
python setup.py installTo run all tests, simply do:
pytestCopyright 2022 IRESS Ltd.
License: Apache License 2.0.