From bd29a2630e2f1d2f61bd1837cbfeb202b89323dc Mon Sep 17 00:00:00 2001 From: Michael Howitz Date: Mon, 18 Jan 2021 09:39:25 +0100 Subject: [PATCH] Update to Coveralls >= 3 (#15) --- .github/workflows/tests.yml | 7 ++++--- .meta.toml | 3 ++- MANIFEST.in | 3 --- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1079b83..a535e16 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -32,15 +32,16 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v2.1.4 with: python-version: ${{ matrix.config[0] }} - name: Pip cache uses: actions/cache@v2 with: path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ hashFiles('setup.*', 'tox.ini') }} + key: ${{ runner.os }}-pip-${{ matrix.config[0] }}-${{ hashFiles('setup.*', 'tox.ini') }} restore-keys: | + ${{ runner.os }}-pip-${{ matrix.config[0] }}- ${{ runner.os }}-pip- - name: Install dependencies run: | @@ -52,6 +53,6 @@ jobs: if: matrix.config[1] == 'coverage' run: | pip install coveralls coverage-python-version - coveralls + coveralls --service=github env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.meta.toml b/.meta.toml index 6592327..e6be31a 100644 --- a/.meta.toml +++ b/.meta.toml @@ -2,13 +2,14 @@ # https://github.com/zopefoundation/meta/tree/master/config/pure-python [meta] template = "pure-python" -commit-id = "f842b6b0cf63668b074b4fcd011f1cd04a7cc9ef" +commit-id = "4e9825189b9b8d18f28e7dbc63373d4baea08602" [python] with-pypy = true with-legacy-python = true with-docs = true with-sphinx-doctests = false +with-appveyor = false [coverage] fail-under = 100 diff --git a/MANIFEST.in b/MANIFEST.in index 8bbe95c..0676639 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -4,7 +4,6 @@ include *.rst include *.txt include buildout.cfg include tox.ini -include .coveragerc recursive-include docs *.bat recursive-include docs *.py @@ -12,10 +11,8 @@ recursive-include docs *.rst recursive-include docs *.txt recursive-include docs Makefile -recursive-include src *.gif recursive-include src *.pt recursive-include src *.py recursive-include src *.rst recursive-include src *.txt -recursive-include src *.xml recursive-include src *.zcml