You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
zope.interface/.meta.toml

93 lines
3.0 KiB

# Generated from:
# https://github.com/zopefoundation/meta/tree/master/config/c-code
[meta]
template = "c-code"
commit-id = "b5df3766ff8923477f3d24729b19504f0c401a2e"
[python]
with-appveyor = true
with-pypy = true
with-legacy-python = true
with-sphinx-doctests = true
with-windows = false
with-future-python = true
with-docs = true
[tox]
use-flake8 = false
testenv-commands = [
"coverage run -p -m unittest discover -s src {posargs}",
]
testenv-deps = [
]
testenv-setenv = [
"ZOPE_INTERFACE_STRICT_IRO=1",
]
coverage-command = "coverage combine"
coverage-additional = [
"depends = py27,py27-pure,py35,py35-pure,py36,py36-pure,py37,py37-pure,py38,py38-pure,py39,py39-pure,py310,py310-pure,pypy,pypy3,docs",
"parallel_show_output = true",
]
[coverage]
fail-under = 99
[manifest]
additional-rules = [
"include *.cmd",
"include *.sh",
"include *.yml",
"include .coveragerc",
"recursive-include benchmarks *.py",
"recursive-include docs *.bat",
"recursive-include docs *.py",
"recursive-include docs *.rst",
"recursive-include docs Makefile",
]
[check-manifest]
additional-ignores = [
"docs/_build/doctest/output.txt",
"docs/_build/html/_sources/*",
"docs/_build/html/_sources/api/*",
]
[github-actions]
additional-install = [
"- name: Install zope.interface",
" # ``python -m unittest discover`` only works with editable",
" # installs, so we have to duplicate some work and can't",
" # install the built wheel. (zope.testrunner",
" # works fine with non-editable installs.)",
" run: |",
" pip install -U wheel",
" pip install -U --no-binary :all: coverage",
" pip install -U 'faulthandler; python_version == \"2.7\" and platform_python_implementation == \"CPython\"'",
" # Unzip into src/ so that testrunner can find the .so files",
" # when we ask it to load tests from that directory. This",
" # might also save some build time?",
" unzip -n dist/zope.interface-*whl -d src",
" pip install -U -e .[test]",
"- name: Run tests and report coverage",
" # Once with C extensions, once without. Yes, this runs them",
" # twice on PyPy.",
" run: |",
" coverage run -p -m unittest discover -s src",
" PURE_PYTHON=1 coverage run -p -m unittest discover -s src",
" coverage combine",
" coverage report --ignore-errors --show-missing",
]
[appveyor]
global-env-vars = [
"# Currently the builds use @mgedmin's Appveyor account. The PyPI token",
"# belongs to zope.wheelbuilder, which is managed by @mgedmin and @dataflake.",
"",
"global:",
" TWINE_USERNAME: __token__",
" TWINE_PASSWORD:",
" secure: aoZC/+rvJKg8B5GMGIxd1X2q2bz7SMl8G3810BID9U8PXFqM0FbWaK9fZ9qcU0UyG2xJsK56Fb6+L6g27I0Lg8UFNhlU1zLAuMSgJQbHsqawFgSY067IdJB68pp34d/oEyxMrJvAKENHH77Fe4KGDssLlk5WnnYS3DA9b66p5imP+1DTtkq5/gMtoG4nZTBtVos7J2kkYTQ5t4BjzTQxPMC3bStNnvuuB0orX4AoCyTrOR1wdZFiNKLzbVnrJCNn24t/n3kG9WrxbnKlrbOm4A==",
]
test-steps = [
"- python -m unittest discover -s src",
]