Skip to content

Commit

Permalink
ci: add coverage report
Browse files Browse the repository at this point in the history
Signed-off-by: black-desk <[email protected]>
  • Loading branch information
black-desk committed Oct 19, 2023
1 parent f7844fa commit 51b1b69
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,11 @@ jobs:
run: |
make
make test
- name: Coverage report
run: |
export COVERAGE_REPORT=/tmp/io.github.black-desk.cgtproxy-test/coverage.txt &&
echo '```' > $GITHUB_STEP_SUMMARY &&
make COVERAGE_REPORT=$COVERAGE_REPORT test-coverage &&
cat $COVERAGE_REPORT >> $GITHUB_STEP_SUMMARY &&
echo '```' >> $GITHUB_STEP_SUMMARY

0 comments on commit 51b1b69

Please sign in to comment.