Skip to content

Commit 0ffb0d2

Browse files
committed
fixup instrumental ignores
1 parent 106798c commit 0ffb0d2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,17 +259,17 @@ jobs:
259259
MERGE_BASE=$(git merge-base origin/$BASE_REF HEAD)
260260
echo "MERGE_BASE:" $MERGE_BASE
261261
git checkout $MERGE_BASE
262-
instrumental -t ecdsa -i 'test.*|.*_version|.*_compat|.*_sha3' `which pytest` src/ecdsa/test*.py
262+
instrumental -t ecdsa -i '.*test_.*|.*_version|.*_compat|.*_sha3' `which pytest` src/ecdsa/test*.py
263263
instrumental -f .instrumental.cov -s
264264
instrumental -f .instrumental.cov -s | python diff-instrumental.py --save .diff-instrumental
265265
git checkout $GITHUB_SHA
266-
instrumental -t ecdsa -i 'test.*|.*_version|.*_compat|.*_sha3' `which pytest` src/ecdsa/test*.py
266+
instrumental -t ecdsa -i '.*test_.*|.*_version|.*_compat|.*_sha3' `which pytest` src/ecdsa/test*.py
267267
instrumental -f .instrumental.cov -sr
268268
instrumental -f .instrumental.cov -s | python diff-instrumental.py --read .diff-instrumental --fail-under 70 --max-difference -0.1
269269
- name: instrumental test coverage on push
270270
if: ${{ contains(matrix.opt-deps, 'instrumental') && !github.event.pull_request }}
271271
run: |
272-
instrumental -t ecdsa -i 'test.*|.*_version|.*_compat|.*_sha3' `which pytest` src/ecdsa
272+
instrumental -t ecdsa -i '.*test_.*|.*_version|.*_compat|.*_sha3' `which pytest` src/ecdsa
273273
instrumental -f .instrumental.cov -s
274274
# just log the values when merging
275275
instrumental -f .instrumental.cov -s | python diff-instrumental.py

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ deps =
6666
coverage
6767
six
6868
commands =
69-
instrumental -t ecdsa -i 'test.*|.*_version|.*_compat' {envbindir}/pytest {posargs:src/ecdsa}
69+
instrumental -t ecdsa -i '.*test_.*|.*_version|.*_compat|.*_sha3' {envbindir}/pytest {posargs:src/ecdsa}
7070
instrumental -f .instrumental.cov -sr
7171

7272
[testenv:coverage]

0 commit comments

Comments
 (0)