Skip to content

Commit 6472d17

Browse files
committed
Revert "remove unneccessary codcov token"
This reverts commit f4c6b5f.
1 parent f4c6b5f commit 6472d17

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/test_release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ jobs:
6666
- name: Upload Code Coverage
6767
if: github.event_name == 'schedule'
6868
run: tox -e upload-coverage
69+
env:
70+
CODECOV_UPLOAD_TOKEN: ${{ secrets.CODECOV_UPLOAD_TOKEN }}
6971

7072
release:
7173
needs: [test, lint]

tox.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,10 @@ commands = python scripts/release.py {posargs}
142142
basepython = python3
143143
deps =
144144
codecov
145-
# Token not required public repos uploading from GH Actions.
145+
passenv =
146+
CODECOV_UPLOAD_TOKEN
146147
commands =
147-
codecov
148+
codecov -t {env:CODECOV_UPLOAD_TOKEN:}
148149

149150
[testenv:docstyle]
150151
deps = pydocstyle

0 commit comments

Comments
 (0)