diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index a9595ec..5dbebfc 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -95,7 +95,7 @@ jobs: - name: Combine coverage data if: ${{ startsWith(matrix.passed_name, 'py') }} # produce a single .coverage file at repo root - run: tox -e coverage + run: tox -e py - name: Upload coverage data if: ${{ startsWith(matrix.passed_name, 'py') }} diff --git a/readthedocs.yml b/readthedocs.yml index a74e871..f2d1439 100644 --- a/readthedocs.yml +++ b/readthedocs.yml @@ -5,7 +5,6 @@ mkdocs: python: version: 3.8 - system_packages: false install: - method: pip path: . diff --git a/tox.ini b/tox.ini index e6f9658..c430095 100644 --- a/tox.ini +++ b/tox.ini @@ -17,7 +17,7 @@ deps = pytest-cov sitepackages = False usedevelop = True -commands = python -m pytest -ra --cov=ansi2html --no-cov-on-fail --cov-append --cov-report=xml:{toxworkdir}/coverage-{envname}.xml +commands = python -m pytest -ra --cov=src/ --no-cov-on-fail --cov-append --cov-report=xml:{toxworkdir}/coverage-{envname}.xml [testenv:lint] description = Runs all linting tasks