From fa827c62483ec83bee396c41002b68c1afb1d344 Mon Sep 17 00:00:00 2001 From: Reid Orsten Date: Fri, 18 Apr 2025 12:10:13 -0600 Subject: [PATCH] codecov integration --- .github/workflows/checks.yaml | 7 +++---- .github/workflows/pypi.yaml | 1 + 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index 7b8601a..86678ba 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -22,8 +22,7 @@ jobs: pylint --fail-under 10 --disable=protected-access tests - name: run tests run: | - pytest . --cov-report lcov - - uses: qltysh/qlty-action/coverage@main + pytest -n 4 -Walways --cov=cli_wrapper --cov-branch --cov-report xml . + - uses: codecov/codecov-action@v5 with: - token: ${{secrets.QLTY_COVERAGE_TOKEN}} - files: coverage.lcov + token: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/pypi.yaml b/.github/workflows/pypi.yaml index c3354e7..0ce81ea 100644 --- a/.github/workflows/pypi.yaml +++ b/.github/workflows/pypi.yaml @@ -1,3 +1,4 @@ +--- name: Publish to PyPI on: push: