From 9ad52d94754807035f3ab6274b4b3333bea0750c Mon Sep 17 00:00:00 2001 From: Veronika Juraskova Date: Mon, 3 Jun 2024 22:55:32 +0100 Subject: [PATCH] Add codecov --- .github/workflows/os_versions.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/os_versions.yml b/.github/workflows/os_versions.yml index ac5e01d..a34d21b 100644 --- a/.github/workflows/os_versions.yml +++ b/.github/workflows/os_versions.yml @@ -35,3 +35,9 @@ jobs: - name: Test with pytest run: | pytest + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v4.0.1 + with: + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: true + files: coverage.xml