Skip to content

Commit

Permalink
test: pass CODECOV_TOKEN to tox environment
Browse files Browse the repository at this point in the history
  • Loading branch information
pyoor committed Jul 27, 2021
1 parent e63c239 commit 0145073
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,13 @@ commands =
poetry run pytest -v --cache-clear --cov="{toxinidir}" --cov-config="{toxinidir}/pyproject.toml" --cov-report term-missing --basetemp="{envtmpdir}" {posargs} --disable-pytest-warnings

[testenv:codecov]
passenv = CODECOV_TOKEN
commands =
poetry install
poetry run codecov -X gcov
codecov -X gcov
deps =
codecov
coverage[toml]
skip_install = true

[testenv:lint]
commands =
Expand Down

0 comments on commit 0145073

Please sign in to comment.