From ae0dfca1446a862f1d819a1796da575783844b4a Mon Sep 17 00:00:00 2001 From: Morten Wergeland Hansen Date: Fri, 21 Jun 2024 14:59:46 +0200 Subject: [PATCH] update codecov --- .github/workflows/pytest.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index ec27f98..00d2eda 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -32,4 +32,9 @@ jobs: - name: Run Tests run: python -m pytest -v --cov=sarwind --timeout=120 - name: Upload to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + with: + fail_ci_if_error: true + flags: unittests # optional + token: ${{ secrets.CODECOV_TOKEN }} # required + verbose: true # optional (default = false)