We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ff24b9 commit cb81b45Copy full SHA for cb81b45
1 file changed
.github/workflows/unit-test.yml
@@ -15,7 +15,7 @@ jobs:
15
runs-on: ubuntu-latest
16
strategy:
17
matrix:
18
- python-version: [3.11]
+ python-version: [3.8, 3.9, 3.10, 3.11]
19
20
steps:
21
- uses: actions/checkout@v3
@@ -42,3 +42,20 @@ jobs:
42
poetry run coverage report -m --omit "*/site-packages/*.py",*/tests/*
43
poetry run coverage html --omit "*/site-packages/*.py",*/tests/*
44
poetry run coverage xml
45
+
46
+ - name: Code Coverage Summary Report
47
+ uses: irongut/CodeCoverageSummary@v1.3.0
48
+ with:
49
+ filename: coverage.xml
50
+ badge: true
51
+ fail_below_min: true
52
+ format: markdown
53
+ hide_branch_rate: false
54
+ hide_complexity: true
55
+ indicators: true
56
+ output: both
57
+ thresholds: '50 75'
58
59
+ - name: Write to Job Summary
60
+ run: |
61
+ cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY
0 commit comments