Skip to content

Commit

Permalink
add test coverage to PR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Hlamallama committed Oct 17, 2024
1 parent 7b99d0b commit c24796f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,7 @@ jobs:
echo "COVERAGE=$COVERAGE" >> $GITHUB_ENV
- name: Get changed lines in the PR
id: get_diff
run: |
git fetch origin develop
git diff origin/develop --unified=0 > diff.txt
grep '^@@' diff.txt | awk '{print $2}' > changed_lines.txt
cat changed_lines.txt
run: echo ${{ steps.changed_lines.outputs.changed_lines }}

- name: Check for untested lines
id: check_coverage
Expand Down

0 comments on commit c24796f

Please sign in to comment.