Skip to content

Commit

Permalink
Ensure files uploaded by each shard have unique paths, and use glob p…
Browse files Browse the repository at this point in the history
…atterns to pick up the files when downloading.
  • Loading branch information
imindich committed Jan 8, 2025
1 parent 122792a commit 02a217b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/actions/on_host_tests/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,5 @@ runs:
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.test_results_key }}-${{ matrix.shard }}
path: ${{ env.results_dir }}/*.xml
name: ${{ inputs.test_results_key }}
path: ${{ env.results_dir }}/shard_${{ matrix.shard }}/*.xml
8 changes: 4 additions & 4 deletions .github/actions/process_test_results/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ runs:
- name: Download Test Results
uses: actions/download-artifact@v4
with:
name: ${{ inputs.test_results_key }}-*
path: results/
name: ${{ inputs.test_results_key }}
path: results/**/*

- name: Test Summary action
continue-on-error: true
uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86
with:
paths: "results/*.xml"
paths: "results/**/*.xml"
output: test-report-summary.md
show: "fail, skip"

Expand Down Expand Up @@ -53,5 +53,5 @@ runs:
DD_ENV: ci
run: |
set -x
./datadog-ci junit upload --service ${DD_SERVICE} results/*.xml
./datadog-ci junit upload --service ${DD_SERVICE} results/**/*.xml
shell: bash

0 comments on commit 02a217b

Please sign in to comment.