ci: add codecov to PR

This commit is contained in:
ClementTsang 2021-11-27 03:42:05 -05:00
parent b20631156a
commit bc22c5f160
1 changed files with 5 additions and 1 deletions

View File

@ -5,6 +5,11 @@ name: codecov
on:
workflow_dispatch:
pull_request:
paths-ignore:
- "README.md"
- "docs/**"
- ".github/ISSUE_TEMPLATE/**"
push:
branches:
- master
@ -37,5 +42,4 @@ jobs:
- name: Upload to codecov.io
uses: codecov/codecov-action@v2
with:
token: ${{secrets.CODECOV_TOKEN}}
fail_ci_if_error: true