From e657c93adc2f146249a6aec8f2a76229ca694547 Mon Sep 17 00:00:00 2001 From: Hsiaoming Yang Date: Fri, 28 Jul 2023 23:55:14 +0900 Subject: [PATCH] chore: add codecov action --- .github/workflows/test.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5d9901d..3bd4b25 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,7 +5,6 @@ on: branches-ignore: - 'wip-*' paths-ignore: - - '.github/**' - 'docs/**' - '*.md' - '*.rst' @@ -13,7 +12,6 @@ on: branches-ignore: - 'wip-*' paths-ignore: - - '.github/**' - 'docs/**' - '*.md' - '*.rst' @@ -59,3 +57,8 @@ jobs: - name: Report coverage run: pytest --cov=captcha --cov-report=xml + + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}