Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tests due to repoze.sphinx.autointerface #96

Merged
merged 1 commit into from May 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Expand Up @@ -7,10 +7,14 @@ on:
pull_request:
schedule:
- cron: '0 12 * * 0' # run once a week on Sunday
# Allow to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
build:
strategy:
# We want to see all failures:
fail-fast: false
matrix:
config:
# [Python version, tox env]
Expand Down
4 changes: 3 additions & 1 deletion .meta.toml
Expand Up @@ -2,7 +2,7 @@
# https://github.com/zopefoundation/meta/tree/master/config/zope-product
[meta]
template = "zope-product"
commit-id = "5160fefd5278ff7780bff6efd7efbecc47d6741a"
commit-id = "b3b903c81546d54b062adf7fafa32e06125f5ba1"

[python]
with-appveyor = false
Expand All @@ -28,7 +28,9 @@ additional-rules = [
"recursive-include src *.gif",
"recursive-include src *.objects",
"recursive-include src *.png",
"recursive-include src *.txt",
"recursive-include src *.xml",
"recursive-include src *.zcml",
"recursive-include src *.zpt",
]

Expand Down
4 changes: 2 additions & 2 deletions MANIFEST.in
Expand Up @@ -11,11 +11,11 @@ recursive-include docs *.txt
recursive-include docs Makefile

recursive-include src *.py
recursive-include src *.txt
recursive-include src *.zcml
include buildout4.cfg
recursive-include src *.gif
recursive-include src *.objects
recursive-include src *.png
recursive-include src *.txt
recursive-include src *.xml
recursive-include src *.zcml
recursive-include src *.zpt
2 changes: 1 addition & 1 deletion setup.cfg
Expand Up @@ -20,7 +20,7 @@ force_single_line = True
combine_as_imports = True
sections = FUTURE,STDLIB,THIRDPARTY,ZOPE,FIRSTPARTY,LOCALFOLDER
known_third_party = six, docutils, pkg_resources
known_zope =
known_zope =
known_first_party = Products.PluginRegistry, Products.StandardCacheManagers, Products.GenericSetup
default_section = ZOPE
line_length = 79
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Expand Up @@ -21,6 +21,7 @@ skip_install = true
deps =
setuptools < 52
zc.buildout
zope.testrunner
commands_pre =
py27,py35: {envbindir}/buildout -nc {toxinidir}/buildout4.cfg buildout:directory={envdir} buildout:develop={toxinidir} install test
!py27-!py35: {envbindir}/buildout -nc {toxinidir}/buildout.cfg buildout:directory={envdir} buildout:develop={toxinidir} install test
Expand Down Expand Up @@ -74,7 +75,8 @@ commands =
[testenv:docs]
basepython = python3
skip_install = false
deps =
# Until repoze.sphinx.autointerface supports Sphinx 4.x we cannot use it:
deps = Sphinx < 4
extras =
docs
commands_pre =
Expand Down