diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c8064ad..167eea0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -56,7 +56,7 @@ jobs: - name: Build coverage comment id: coverage run: | - TOTAL=$(grep '^TOTAL' pytest-coverage.txt | awk '{print $(NF-1)}') + TOTAL=$(grep '^TOTAL' pytest-coverage.txt | awk '{print $4}') echo "total=${TOTAL}" >> "$GITHUB_OUTPUT" REPO_URL="${{ github.server_url }}/${{ github.repository }}"