From cf7259e0a88d3f02af30a3d5dc54e11301c05dcb Mon Sep 17 00:00:00 2001 From: Jan-Frederik Schmidt Date: Mon, 20 Jan 2025 09:11:07 +0100 Subject: [PATCH] ci: Upload code coverage to codecov.io --- .github/workflows/tests_and_coverage.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests_and_coverage.yml b/.github/workflows/tests_and_coverage.yml index 81da544..d4a4d97 100644 --- a/.github/workflows/tests_and_coverage.yml +++ b/.github/workflows/tests_and_coverage.yml @@ -60,11 +60,13 @@ jobs: - name: Combine coverage results run: tox run -e combine-test-reports - - name: Archive code coverage results - uses: actions/upload-artifact@v4 + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v5 with: - name: code-coverage-report - path: reports/coverage.xml + token: ${{ secrets.CODECOV_TOKEN }} + slug: vorausrobotik/vdoc + files: reports/coverage.xml + flags: unittests test-ui: runs-on: ubuntu-latest