Skip to content

Commit

Permalink
- force-install package just like on GHA to make tests run locally
Browse files Browse the repository at this point in the history
  • Loading branch information
dataflake committed Sep 19, 2024
1 parent f10b664 commit 59833b7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .meta.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# https://github.com/zopefoundation/meta/tree/master/config/c-code
[meta]
template = "c-code"
commit-id = "a8ae60f1"
commit-id = "85622de1"

[python]
with-pypy = true
Expand All @@ -15,6 +15,7 @@ with-macos = false
[tox]
use-flake8 = true
testenv-commands = [
"pip install -U -e .[test]",
"coverage run -p -m unittest discover -s src {posargs}",
]
testenv-setenv = [
Expand Down Expand Up @@ -46,7 +47,6 @@ additional-rules = [
"include *.cmd",
"include *.sh",
"include *.yml",
"include .coveragerc",
"recursive-include benchmarks *.py",
"recursive-include docs *.bat",
"recursive-include docs *.py",
Expand Down
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ include *.yaml
include *.cmd
include *.sh
include *.yml
include .coveragerc
recursive-include benchmarks *.py
recursive-include docs *.bat
recursive-include docs *.py
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def _unavailable(self, e):
tests_require = [
# The test dependencies should NOT have direct or transitive
# dependencies on zope.interface.
'coverage >= 5.0.3',
'coverage[toml]',
'zope.event',
'zope.testing',
]
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ setenv =
!pure-!pypy3: PURE_PYTHON=0
ZOPE_INTERFACE_STRICT_IRO=1
commands =
pip install -U -e .[test]
coverage run -p -m unittest discover -s src {posargs}
sphinx-build -b doctest -d {envdir}/.cache/doctrees docs {envdir}/.cache/doctest
extras =
Expand Down

0 comments on commit 59833b7

Please sign in to comment.