From f5bad7a3d5e40092773aa8a61100edd45595545c Mon Sep 17 00:00:00 2001 From: Emelie Graven Date: Tue, 15 Oct 2024 12:50:31 +0200 Subject: [PATCH] ci: Add covecov step --- .github/workflows/rust-workflow.yml | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/.github/workflows/rust-workflow.yml b/.github/workflows/rust-workflow.yml index 2ffa9bf..1b12d27 100644 --- a/.github/workflows/rust-workflow.yml +++ b/.github/workflows/rust-workflow.yml @@ -110,22 +110,9 @@ jobs: - name: Setup LCOV uses: hrishikesh-kadam/setup-lcov@6c1aa0cc9e1c02f9f58f01ac599f1064ccc83470 - - name: Report code coverage - uses: zgosalvez/github-actions-report-lcov@fea161ae6d85807479ea109d42259c9165558a64 + - name: Codecov + uses: codecov/codecov-action@v4 with: - working-directory: ./head/ - coverage-files: ${{github.workspace}}/lcov.info - artifact-name: code-coverage-report - github-token: ${{ secrets.GITHUB_TOKEN }} - update-comment: true - - # review_app_coverage: - # if: github.event_name == 'pull_request' - # needs: [tests] - # secrets: inherit - # uses: famedly/frontend-ci-templates/.github/workflows/review-app.yml@main - # with: - # projectname: "ldap-sync-coverage" - # pr: ${{ github.event.pull_request.number }} - # environment: "review" - # artifact-name: "code-coverage-report" + token: ${{secrets.CODECOV_TOKEN}} + files: "${{github.workspace}}/lcov.info" +