Skip to content

Commit

Permalink
Improve report
Browse files Browse the repository at this point in the history
  • Loading branch information
sadra-barikbin committed Jan 6, 2024
1 parent 7d4f37b commit 40a4d58
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ jobs:
- name: Test
run: |
cd src
python3 -m pytest --junitxml=../junit.xml -o junit_family=legacy
python3 -m pytest --junitxml=../${{matrix.python-version}}-junit.xml -o junit_family=legacy
- name: Upload test results
uses: actions/upload-artifact@v3
if: success() || failure()
with:
name: test-results-${{matrix.python-version}}
path: junit.xml
path: ${{matrix.python-version}}-junit.xml
6 changes: 3 additions & 3 deletions .github/workflows/test_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:
- uses: dorny/test-reporter@v1.7.0
with:
artifact: /test-results-.*/
name: Tests Results
path: 'junit.xml'
artifact: /test-results-(.*)/
name: 'Tests Results - $1'
path: '*junit.xml'
reporter: java-junit

0 comments on commit 40a4d58

Please sign in to comment.