Skip to content

Commit

Permalink
add workflow for coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
micha37-martins committed Aug 22, 2024
1 parent 1dd652d commit f51e3e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/github-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ jobs:
shell: bash
run: |
coverage=$(grep -oP '(?<=covered":")[^"]+' ./coverage/test_smartmon.coverage/index.js | head -n 1)
echo "Extracted coverage percentage: $coverage"
echo "::set-output name=coverage::$coverage"
echo "Extracted coverage percentage: $coverage"
echo "::set-output name=coverage::$coverage"
- name: Update README.md with coverage badge
run: |
Expand Down

0 comments on commit f51e3e1

Please sign in to comment.