Skip to content

Commit

Permalink
Merge pull request #680 from cordada/bugfix/no-test-coverage
Browse files Browse the repository at this point in the history
Test coverage broken by migration from `setup.py` to `pyproject.toml`
  • Loading branch information
jtrobles-cdd authored Aug 23, 2024
2 parents f2f0c3b + 5d6fb27 commit 696efad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ test-all: ## run tests on every Python version with tox
tox

test-coverage: ## run tests and record test coverage
coverage run --rcfile=setup.cfg setup.py test
coverage run --rcfile=setup.cfg -m unittest discover -v -c -b -s src -t src

test-coverage-report: test-coverage-report-console
test-coverage-report: test-coverage-report-xml
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ envlist =
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/cl_sii
commands = coverage run --rcfile=setup.cfg setup.py test
commands = coverage run --rcfile=setup.cfg -m unittest discover -v -c -b -s src -t src
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements-dev.txt
Expand Down

0 comments on commit 696efad

Please sign in to comment.