| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -45,10 +45,10 @@ check-dist: | |||
| 45 | 45 | coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/' | |
| 46 | 46 | artifacts: | |
| 47 | 47 | reports: | |
| 48 | - junit: junit.xml | ||
| 48 | + junit: .tox/junit.xml | ||
| 49 | 49 | coverage_report: | |
| 50 | 50 | coverage_format: cobertura | |
| 51 | - path: coverage.xml | ||
| 51 | + path: .tox/coverage.xml | ||
| 52 | 52 | ||
| 53 | 53 | test-tox-python: | |
| 54 | 54 | extends: .test-tox | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,15 +1,10 @@ | |||
| 1 | - # Tox (http://tox.testrun.org/) is a tool for running tests | ||
| 2 | - # in multiple virtualenvs. This configuration file will run the | ||
| 3 | - # test suite on all supported python versions. To use it, "pip install tox" | ||
| 4 | - # and then run "tox" from this directory. | ||
| 5 | - | ||
| 6 | 1 | [tox] | |
| 7 | 2 | envlist = py39, py310, py311, py312, py313, py314, pypy3 | |
| 8 | 3 | ||
| 9 | 4 | [testenv] | |
| 10 | - usedevelop = true | ||
| 5 | + changedir = {toxworkdir} | ||
| 11 | 6 | commands = | |
| 12 | - coverage run --omit=*/tests/*,*/.tox/* -m xmlrunner discover -s sql.tests {posargs} | ||
| 7 | + coverage run --source=sql --omit=*/tests/* -m xmlrunner discover -s sql.tests {posargs} | ||
| 13 | 8 | commands_post = | |
| 14 | 9 | coverage report --omit=README.rst | |
| 15 | 10 | coverage xml --omit=README.rst | |
| Back | FazBrowse Home | New Git URL |
0 commit comments