Skip to content

Commit

Permalink
Fix test result artifact collection paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirois committed Feb 10, 2025
1 parent da2a82f commit 573c9ae
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,19 +231,19 @@ jobs:
tox-env: typecheck,package,docs
- python-version: [ 3, 13 ]
tox-env: py313-pip25_0
artifact-name: unit-tests
artifact-name: unit
cache: true
pex-test-pos-args: ${{ needs.setup.outputs.pex_test_posargs }} --junit-xml ../dist/reports/tests-unit.xml
pex-test-pos-args: ${{ needs.setup.outputs.pex_test_posargs }} --junit-xml ../dist/test-results/unit.xml
- python-version: [ 3, 13 ]
tox-env: py313-pip25_0-integration
artifact-name: integration-tests-1
artifact-name: integration-1
cache: true
pex-test-pos-args: --shard 1/2 ${{ needs.setup.outputs.pex_test_posargs }} --junit-xml ../dist/reports/tests-integration-1.xml
pex-test-pos-args: --shard 1/2 ${{ needs.setup.outputs.pex_test_posargs }} --junit-xml ../dist/test-results/integration-1.xml
- python-version: [ 3, 13 ]
tox-env: py313-pip25_0-integration
artifact-name: integration-tests-2
artifact-name: integration-2
cache: true
pex-test-pos-args: --shard 2/2 ${{ needs.setup.outputs.pex_test_posargs }} --junit-xml ../dist/reports/tests-integration-2.xml
pex-test-pos-args: --shard 2/2 ${{ needs.setup.outputs.pex_test_posargs }} --junit-xml ../dist/test-results/integration-2.xml
steps:
- name: Checkout Pex
uses: actions/checkout@v4
Expand Down Expand Up @@ -283,7 +283,7 @@ jobs:
if: always() && matrix.artifact-name
with:
name: test-results-${{ matrix.artifact-name }}
path: dist/reports/tests-*.xml
path: dist/test-results/
- name: Cache Devpi Server
uses: actions/cache/save@v4
if: matrix.cache && github.ref == 'refs/heads/main'
Expand All @@ -296,13 +296,10 @@ jobs:
runs-on: ubuntu-24.04
steps:
- uses: actions/download-artifact@v4
with:
path: dist/reports/
- uses: actions/upload-artifact@v4
if: always()
with:
name: test-results
path: dist/reports/tests-*.xml
path: dist/test-results/
final-status:
name: Gather Final Status
needs:
Expand Down

0 comments on commit 573c9ae

Please sign in to comment.