Merge pull request #4444 from hugovk/codecov-bash

Use Codecov bash because the Action times out on macOS
This commit is contained in:
Andrew Murray 2020-02-24 22:45:45 +11:00 committed by GitHub
commit 80994bc0e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,8 +106,7 @@ jobs:
- name: Upload coverage
if: success()
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: ${{ matrix.codecov-flag }}
name: ${{ matrix.os }} Python ${{ matrix.python-version }}
run: bash <(curl -s https://codecov.io/bash) -F ${{ matrix.codecov-flag }}
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
CODECOV_NAME: ${{ matrix.os }} Python ${{ matrix.python-version }}