summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Howitz <mh@gocept.com>2020-11-19 11:34:27 +0100
committerGitHub <noreply@github.com>2020-11-19 11:34:27 +0100
commit58cd6273365fd9f66951b7c51f7c5ac111700c4f (patch)
treec0c60a1f24f934f92803bcc26569e7e801c2a8c7
parent343c6d0a9eaf3f8f2f2df015f4e416035bd7ae22 (diff)
downloadzope-browser-58cd6273365fd9f66951b7c51f7c5ac111700c4f.tar.gz
Update to current pure-python template. (#12)
-rw-r--r--.github/workflows/tests.yml8
-rw-r--r--.meta.cfg3
-rw-r--r--MANIFEST.in4
-rw-r--r--setup.cfg1
-rw-r--r--tox.ini3
5 files changed, 12 insertions, 7 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index c4df220..fd5e8d1 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -1,3 +1,5 @@
+# Generated from:
+# https://github.com/zopefoundation/meta/tree/master/config/pure-python
name: tests
on:
@@ -42,11 +44,13 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
- pip install tox coveralls coverage-python-version
+ pip install tox
- name: Test
run: tox -e ${{ matrix.config[1] }}
- name: Coverage
if: matrix.config[1] == 'coverage'
- run: coveralls
+ run: |
+ pip install coveralls coverage-python-version
+ coveralls
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.meta.cfg b/.meta.cfg
index c2072a1..6e2536a 100644
--- a/.meta.cfg
+++ b/.meta.cfg
@@ -2,6 +2,7 @@
# https://github.com/zopefoundation/meta/tree/master/config/pure-python
[meta]
template = pure-python
-commit-id = 4f6e46d28989b99f6dd6ee49829060a6720b79b9
+commit-id = 1f1620d8f96c3f3781d1df0c591dd72a3f068879
fail-under = 100
+with-pypy = True
diff --git a/MANIFEST.in b/MANIFEST.in
index 9e5fab2..8bbe95c 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -4,12 +4,12 @@ include *.rst
include *.txt
include buildout.cfg
include tox.ini
-
-exclude MANIFEST.in
+include .coveragerc
recursive-include docs *.bat
recursive-include docs *.py
recursive-include docs *.rst
+recursive-include docs *.txt
recursive-include docs Makefile
recursive-include src *.gif
diff --git a/setup.cfg b/setup.cfg
index 9f7321c..0bbfe1c 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -10,4 +10,3 @@ doctests = 1
ignore =
.editorconfig
.meta.cfg
- .travis.yml
diff --git a/tox.ini b/tox.ini
index 35da4a1..a586b68 100644
--- a/tox.ini
+++ b/tox.ini
@@ -4,12 +4,12 @@
envlist =
lint,
py27,
- pypy,
py35,
py36,
py37,
py38,
py39,
+ pypy,
pypy3,
coverage
@@ -52,6 +52,7 @@ source = src
[coverage:report]
precision = 2
exclude_lines =
+ pragma: no cover
pragma: nocover
except ImportError:
raise NotImplementedError