diff options
author | Michael Howitz <mh@gocept.com> | 2020-11-19 11:34:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-19 11:34:27 +0100 |
commit | 58cd6273365fd9f66951b7c51f7c5ac111700c4f (patch) | |
tree | c0c60a1f24f934f92803bcc26569e7e801c2a8c7 | |
parent | 343c6d0a9eaf3f8f2f2df015f4e416035bd7ae22 (diff) | |
download | zope-browser-58cd6273365fd9f66951b7c51f7c5ac111700c4f.tar.gz |
Update to current pure-python template. (#12)
-rw-r--r-- | .github/workflows/tests.yml | 8 | ||||
-rw-r--r-- | .meta.cfg | 3 | ||||
-rw-r--r-- | MANIFEST.in | 4 | ||||
-rw-r--r-- | setup.cfg | 1 | ||||
-rw-r--r-- | tox.ini | 3 |
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 }} @@ -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 @@ -10,4 +10,3 @@ doctests = 1 ignore = .editorconfig .meta.cfg - .travis.yml @@ -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 |