From 93a97420beae54feab84a33986f31fd2ff3f3869 Mon Sep 17 00:00:00 2001 From: Santiago Martinez Date: Wed, 31 Jan 2024 22:19:53 +0000 Subject: [PATCH] Update test workflow to fix coverage upload --- .github/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0293ef30..ff7d0b6e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,7 +22,9 @@ jobs: cd back pdm run pytest --cov -n auto - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 env: + files: back/.coverage + fail_ci_if_error: true CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}