1 parent b1f4837 commit cd5aa23Copy full SHA for cd5aa23
1 file changed
.github/workflows/python-app.yml
@@ -16,6 +16,8 @@ jobs:
16
build:
17
18
runs-on: ubuntu-latest
19
+ permissions:
20
+ checks: write
21
22
steps:
23
- uses: actions/checkout@v3
@@ -36,4 +38,11 @@ jobs:
36
38
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
37
39
- name: Test with pytest
40
run: |
- pytest
41
+ python -m pytest --verbose --junit-xml=junit.xml
42
+ - name: Publish Test Report
43
+ uses: mikepenz/action-junit-report@v3
44
+ if: success() || failure() # always run even if the previous step fails
45
+ with:
46
+ report_paths: '**/junit.xml'
47
+ detailed_summary: true
48
+ include_passed: true
0 commit comments