Skip to content

Commit 59833b7

Browse files
committed
- force-install package just like on GHA to make tests run locally
1 parent f10b664 commit 59833b7

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.meta.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# https://github.com/zopefoundation/meta/tree/master/config/c-code
33
[meta]
44
template = "c-code"
5-
commit-id = "a8ae60f1"
5+
commit-id = "85622de1"
66

77
[python]
88
with-pypy = true
@@ -15,6 +15,7 @@ with-macos = false
1515
[tox]
1616
use-flake8 = true
1717
testenv-commands = [
18+
"pip install -U -e .[test]",
1819
"coverage run -p -m unittest discover -s src {posargs}",
1920
]
2021
testenv-setenv = [
@@ -46,7 +47,6 @@ additional-rules = [
4647
"include *.cmd",
4748
"include *.sh",
4849
"include *.yml",
49-
"include .coveragerc",
5050
"recursive-include benchmarks *.py",
5151
"recursive-include docs *.bat",
5252
"recursive-include docs *.py",

MANIFEST.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ include *.yaml
1717
include *.cmd
1818
include *.sh
1919
include *.yml
20-
include .coveragerc
2120
recursive-include benchmarks *.py
2221
recursive-include docs *.bat
2322
recursive-include docs *.py

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def _unavailable(self, e):
8282
tests_require = [
8383
# The test dependencies should NOT have direct or transitive
8484
# dependencies on zope.interface.
85-
'coverage >= 5.0.3',
85+
'coverage[toml]',
8686
'zope.event',
8787
'zope.testing',
8888
]

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ setenv =
2222
!pure-!pypy3: PURE_PYTHON=0
2323
ZOPE_INTERFACE_STRICT_IRO=1
2424
commands =
25+
pip install -U -e .[test]
2526
coverage run -p -m unittest discover -s src {posargs}
2627
sphinx-build -b doctest -d {envdir}/.cache/doctrees docs {envdir}/.cache/doctest
2728
extras =

0 commit comments

Comments
 (0)