Skip to content

Commit

Permalink
ci: enable code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
martabal committed Oct 30, 2024
1 parent 0680851 commit cbb49d9
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,18 +77,18 @@ jobs:
name: code-coverage
path: coverage.txt

# code_coverage:
# name: "Code coverage report"
# if: github.event_name == 'pull_request'
# runs-on: ubuntu-latest
# needs: unit_tests
# permissions:
# contents: read
# actions: read
# pull-requests: write

# steps:
# - uses: fgrosse/go-coverage-report@v1.2.0
# with:
# coverage-artifact-name: "code-coverage"
# coverage-file-name: "coverage.txt"
code_coverage:
name: "Code coverage report"
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
needs: unit_tests
permissions:
contents: read
actions: read
pull-requests: write

steps:
- uses: fgrosse/go-coverage-report@v1.2.0
with:
coverage-artifact-name: "code-coverage"
coverage-file-name: "coverage.txt"

0 comments on commit cbb49d9

Please sign in to comment.