diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 33c07ed4..c51be1b1 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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