Skip to content

Commit

Permalink
Fix upload of tests results
Browse files Browse the repository at this point in the history
  • Loading branch information
gerzse committed Jul 5, 2024
1 parent 0e62ac3 commit 6b5f241
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ jobs:
with:
name: pytest-results-${{matrix.test-type}}-${{matrix.connection-type}}-${{matrix.python-version}}
path: |
'${{matrix.test-type}}*-results.xml'
'${{matrix.test-type}}-profile.out'
${{matrix.test-type}}*-results.xml
${{matrix.test-type}}-profile.out
if-no-files-found: error
retention-days: 10

Expand All @@ -109,7 +109,7 @@ jobs:
continue-on-error: true
with:
name: Test Results ${{matrix.python-version}} ${{matrix.test-type}}-${{matrix.connection-type}}
path: '*.xml'
path: ${{matrix.test-type}}*-results.xml
reporter: java-junit
list-suites: all
list-tests: all
Expand All @@ -132,10 +132,12 @@ jobs:
name: RESP3 [${{ matrix.python-version }} ${{matrix.test-type}}-${{matrix.connection-type}}]
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'

- name: Run tests
run: |
pip install -U setuptools wheel
Expand All @@ -154,8 +156,8 @@ jobs:
with:
name: pytest-results-${{matrix.test-type}}-${{matrix.connection-type}}-${{matrix.python-version}}-resp3
path: |
'${{matrix.test-type}}*-results.xml'
'${{matrix.test-type}}-profile.out'
${{matrix.test-type}}*-results.xml
${{matrix.test-type}}-profile.out
if-no-files-found: error
retention-days: 10

Expand All @@ -170,7 +172,7 @@ jobs:
continue-on-error: true
with:
name: Test Results ${{matrix.python-version}} ${{matrix.test-type}}-${{matrix.connection-type}}-resp3
path: '*-results.xml'
path: ${{matrix.test-type}}*-results.xml
reporter: java-junit
list-suites: all
list-tests: all
Expand Down

0 comments on commit 6b5f241

Please sign in to comment.