diff --git a/.github/workflows/unittest.yml b/.github/workflows/test.yml similarity index 74% rename from .github/workflows/unittest.yml rename to .github/workflows/test.yml index 5d8a491..0509fe3 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/test.yml @@ -43,4 +43,15 @@ jobs: - name: Test with pytest shell: bash {0} run: | - uv run pytest --cov=heavytail --cov-branch --cov-report=term-missing --cov-report=xml:coverage.xml -vv tests \ No newline at end of file + uv run pytest --cov=heavytail --cov-branch --cov-report=term-missing --cov-report=xml:coverage.xml -vv tests + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v3 + with: + token: ${{ secrets.CODECOV_TOKEN }} + directory: . + env_vars: OS,PYTHON + fail_ci_if_error: true + files: coverage.xml + flags: unittests + name: codecov-umbrella + verbose: true