diff options
author | Jürgen Gmach <juergen.gmach@googlemail.com> | 2021-03-12 09:54:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-12 08:54:51 +0000 |
commit | ec50a6f2ccdf83a070d0037d7e685aa3c843821e (patch) | |
tree | 26fee5e26bea33b9fbaa84ed8218ce0f110b7a0e /tox.ini | |
parent | 41fa387a8c3e139ae7f953227dcbf57bede703a9 (diff) | |
download | tox-git-ec50a6f2ccdf83a070d0037d7e685aa3c843821e.tar.gz |
coverage report: enable setting a different `upstream` repository (#1973)
The coverage report was comparing the local branch to
`upstream/rewrite`.
This was hardcoded.
Now, you can change the remote repository by ``DIFF_AGAINST`` env
variable as intended.
This fixes #1972
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |