From be437afbebb8318e63185ed5b22c19f33bde989b Mon Sep 17 00:00:00 2001 From: Markus Siemens Date: Sat, 26 Nov 2022 13:00:25 +0100 Subject: [PATCH] fix(ci): use GitHub actions to check for COVERALLS token --- .github/workflows/ci-workflow.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml index c53a38e0..61a2a6f3 100644 --- a/.github/workflows/ci-workflow.yml +++ b/.github/workflows/ci-workflow.yml @@ -45,9 +45,8 @@ jobs: twine check dist/* if: ${{ contains(matrix.python-version, '3.10') }} - name: Upload coverage result + if: ${{ env.COVERALLS_REPO_TOKEN != 'windows-latest' }} env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} run: | - if [ -n "${COVERALLS_REPO_TOKEN}" ]; then - poetry run coveralls - fi + poetry run coveralls