mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-07-01 10:53:14 +03:00
Fix tox coverage report
This commit is contained in:
parent
cb81e56e5e
commit
a99497095e
3
.github/workflows/tests-and-linters.yml
vendored
3
.github/workflows/tests-and-linters.yml
vendored
|
@ -41,6 +41,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
env:
|
||||
DEPENDENCY_INJECTOR_DEBUG_MODE: 1
|
||||
PIP_VERBOSE: 1
|
||||
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
steps:
|
||||
|
@ -50,7 +51,7 @@ jobs:
|
|||
python-version: 3.12
|
||||
- run: pip install tox 'cython>=3,<4'
|
||||
- run: make cythonize
|
||||
- run: tox
|
||||
- run: tox -vv
|
||||
env:
|
||||
TOXENV: coveralls
|
||||
|
||||
|
|
3
tox.ini
3
tox.ini
|
@ -1,4 +1,5 @@
|
|||
[tox]
|
||||
parallel_show_output = true
|
||||
envlist=
|
||||
coveralls, pylint, flake8, pydocstyle, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, pypy3.9, pypy3.10
|
||||
|
||||
|
@ -24,7 +25,7 @@ commands = pytest -c tests/.configs/pytest.ini
|
|||
python_files = test_*_py3*.py
|
||||
|
||||
[testenv:coveralls]
|
||||
passenv = GITHUB_*, COVERALLS_*
|
||||
passenv = GITHUB_*, COVERALLS_*, DEPENDENCY_INJECTOR_*
|
||||
basepython=python3.12
|
||||
deps=
|
||||
{[testenv]deps}
|
||||
|
|
Loading…
Reference in New Issue
Block a user