From aca3e0450ec54757e91e1faf0df55884f4c46e4a Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Thu, 10 Sep 2020 15:47:26 +0300 Subject: [PATCH] Switch from flaky codecov-bash to codecov-action --- .github/workflows/test.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 741544ef..1ac0fee8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -62,9 +62,7 @@ jobs: tox -e py - name: Upload coverage - if: success() - run: | - curl --retry 8 -s https://codecov.io/bash -o codecov.sh - bash codecov.sh -F ${{ matrix.codecov-flag }} - env: - CODECOV_NAME: ${{ matrix.os }} Python ${{ matrix.python-version }} + uses: codecov/codecov-action@v1 + with: + flags: ${{ matrix.codecov-flag }} + name: ${{ matrix.os }} Python ${{ matrix.python-version }}