From 1e808438b825cf622af45d9544ce0fa3854a0e3a Mon Sep 17 00:00:00 2001 From: Alex Kanitz Date: Sun, 19 May 2024 23:39:07 +0200 Subject: [PATCH] ci: upgrade Codecov action (#217) --- .github/workflows/checks.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index ffc6ce8..8bdedfa 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -50,10 +50,11 @@ jobs: run: | coverage run --source foca -m pytest -W ignore::DeprecationWarning coverage xml - - name: Submit Report to Codecov - uses: codecov/codecov-action@v3 + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} + flags: test_unit files: ./coverage.xml fail_ci_if_error: true verbose: true