From 7c6e9496271a12c0e53bb7233e51efe7afe7d19f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Deuchnord?= Date: Sun, 17 May 2020 10:21:13 +0200 Subject: [PATCH] ci: fix Codecov token in unit tests --- .github/workflows/unit-tests.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index b1198d1..633de84 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -17,6 +17,8 @@ jobs: pip install --upgrade pip pipenv pipenv sync -d - name: Unit tests + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} run: | pipenv run python -m coverage run -m unittest test - pipenv run codecov --token=${{ secrets.CODECOV_TOKEN }} + pipenv run codecov --token=$CODECOV_TOKEN