From dc5da4990d23af400f4a3be55e95eb49a0ee4faf Mon Sep 17 00:00:00 2001 From: Xiaoxue Wang Date: Mon, 22 Apr 2024 16:21:07 +0800 Subject: [PATCH] fix: ci codecov error Signed-off-by: Xiaoxue Wang --- .github/workflows/integrate.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integrate.yaml b/.github/workflows/integrate.yaml index 552b902..f7a4021 100644 --- a/.github/workflows/integrate.yaml +++ b/.github/workflows/integrate.yaml @@ -30,7 +30,7 @@ jobs: - name: Lint with flake8 run: | pipenv run flake8 - + Test: runs-on: ubuntu-latest @@ -57,8 +57,10 @@ jobs: pipenv run python -m pytest --cov=yuptoo tests - name: Upload coverage to codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: fail_ci_if_error: true verbose: true flags: unittests + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}