Move coverage configurations to pyproject.toml
(#3858)
This commit is contained in:
parent
47676bf593
commit
58f1bf69d2
@ -1,9 +0,0 @@
|
|||||||
[report]
|
|
||||||
omit =
|
|
||||||
src/blib2to3/*
|
|
||||||
tests/data/*
|
|
||||||
*/site-packages/*
|
|
||||||
.tox/*
|
|
||||||
|
|
||||||
[run]
|
|
||||||
relative_files = True
|
|
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -62,7 +62,7 @@ jobs:
|
|||||||
if:
|
if:
|
||||||
github.repository == 'psf/black' && matrix.os == 'ubuntu-latest' &&
|
github.repository == 'psf/black' && matrix.os == 'ubuntu-latest' &&
|
||||||
!startsWith(matrix.python-version, 'pypy')
|
!startsWith(matrix.python-version, 'pypy')
|
||||||
uses: AndreMiras/coveralls-python-action@v20201129
|
uses: AndreMiras/coveralls-python-action@8799c9f4443ac4201d2e2f2c725d577174683b99
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
parallel: true
|
parallel: true
|
||||||
@ -77,7 +77,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Send finished signal to Coveralls
|
- name: Send finished signal to Coveralls
|
||||||
uses: AndreMiras/coveralls-python-action@v20201129
|
uses: AndreMiras/coveralls-python-action@8799c9f4443ac4201d2e2f2c725d577174683b99
|
||||||
with:
|
with:
|
||||||
parallel-finished: true
|
parallel-finished: true
|
||||||
debug: true
|
debug: true
|
||||||
|
@ -210,3 +210,12 @@ filterwarnings = [
|
|||||||
# Work around https://github.com/pytest-dev/pytest/issues/10977 for Python 3.12
|
# Work around https://github.com/pytest-dev/pytest/issues/10977 for Python 3.12
|
||||||
'''ignore:(Attribute s|Attribute n|ast.Str|ast.Bytes|ast.NameConstant|ast.Num) is deprecated and will be removed in Python 3.14:DeprecationWarning'''
|
'''ignore:(Attribute s|Attribute n|ast.Str|ast.Bytes|ast.NameConstant|ast.Num) is deprecated and will be removed in Python 3.14:DeprecationWarning'''
|
||||||
]
|
]
|
||||||
|
[tool.coverage.report]
|
||||||
|
omit = [
|
||||||
|
"src/blib2to3/*",
|
||||||
|
"tests/data/*",
|
||||||
|
"*/site-packages/*",
|
||||||
|
".tox/*"
|
||||||
|
]
|
||||||
|
[tool.coverage.run]
|
||||||
|
relative_files = true
|
||||||
|
Loading…
Reference in New Issue
Block a user