We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f84ed47 commit d419e68Copy full SHA for d419e68
.github/workflows/pytest.yml
@@ -51,6 +51,13 @@ jobs:
51
exit 1
52
fi
53
54
+ - name: Print Branch Coverage
55
+ run: |
56
+ echo "Branch Coverage Details:"
57
+ echo "Total Branches: $(grep -o 'branches-valid="[0-9]*"' coverage.xml | sed 's/branches-valid="//;s/"//')"
58
+ echo "Branches Covered: $(grep -o 'branches-covered="[0-9]*"' coverage.xml | sed 's/branches-covered="//;s/"//')"
59
+ echo "Branch Rate: $(grep -o 'branch-rate="[0-9\.]*"' coverage.xml | sed 's/branch-rate="//;s/"//')"
60
+
61
- name: SonarQube Scan
62
uses: SonarSource/sonarqube-scan-action@v4
63
env:
0 commit comments