diff options
-rw-r--r-- | docs/changelog/1972.bugfix.rst | 3 | ||||
-rw-r--r-- | tox.ini | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/docs/changelog/1972.bugfix.rst b/docs/changelog/1972.bugfix.rst new file mode 100644 index 00000000..1b38ad3b --- /dev/null +++ b/docs/changelog/1972.bugfix.rst @@ -0,0 +1,3 @@ +Enable setting a different ``upstream`` repository for the coverage diff report. +This has been hardcoded to ``upstream/rewrite`` until now. +by :user:`jugmac00`. @@ -79,7 +79,7 @@ commands = coverage report -m coverage xml -o {toxworkdir}{/}coverage.xml coverage html -d {toxworkdir}{/}htmlcov - diff-cover --compare-branch upstream/rewrite {toxworkdir}{/}coverage.xml + diff-cover --compare-branch {env:DIFF_AGAINST:upstream/rewrite} {toxworkdir}{/}coverage.xml depends = py39 py38 |