Skip to content

Commit

Permalink
Update to Coveralls >= 3 (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed Jan 18, 2021
1 parent 9ab6f6a commit bd29a26
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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 }}
3 changes: 2 additions & 1 deletion .meta.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 0 additions & 3 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,15 @@ include *.rst
include *.txt
include buildout.cfg
include tox.ini
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
recursive-include src *.pt
recursive-include src *.py
recursive-include src *.rst
recursive-include src *.txt
recursive-include src *.xml
recursive-include src *.zcml

0 comments on commit bd29a26

Please sign in to comment.