88 process-test-results :
99 runs-on : ubuntu-latest
1010 steps :
11- - name : Initialize
12- run : mkdir -p test-artifacts
11+ - uses : actions/setup-go@v3
12+ with :
13+ go-version : ' ^1.24.3'
1314 - name : Checkout code
1415 uses : actions/checkout@v2
1516 - name : Install home-ci-reporter with ciux
@@ -19,33 +20,31 @@ jobs:
1920 ciux ignite -l gha_dispatch .
2021 - name : Extract and Decode Artifacts
2122 run : |
22- PATH=$(go env GOPATH)/bin:$PATH
23+ mkdir -p artifacts
2324 echo '${{ toJson(github.event.client_payload) }}' > payload.json
2425 echo "=== Payload content ==="
2526 cat payload.json
2627 echo "======================="
27- home-ci-reporter extract payload.json test- artifacts
28+ home-ci-reporter extract payload.json artifacts
2829 echo "=== Files extracted ==="
29- find test- artifacts -type f -ls
30+ find artifacts -type f -ls
3031 echo "======================="
3132 - name : Upload Artifacts
3233 uses : actions/upload-artifact@v4
3334 with :
3435 name : external-results-${{ github.event.client_payload.artifact_name }}
35- path : test- artifacts/
36+ path : artifacts/
3637 retention-days : 30
3738 - name : Generate Summary Metadata
3839 run : |
39- PATH=$(go env GOPATH)/bin:$PATH
4040 home-ci-reporter summary payload.json -vvv
4141 - name : Parse E2E Report
4242 run : |
43- PATH=$(go env GOPATH)/bin:$PATH
44- report_path="test-artifacts/e2e-report.yaml"
43+ report_path="artifacts/e2e-report.yaml"
4544 echo "=== Contents of test-artifacts ==="
46- ls -la test- artifacts/ || echo "test- artifacts directory does not exist"
45+ ls -la artifacts/ || echo "artifacts directory does not exist"
4746 echo "=== Searching for any YAML files ==="
48- find test- artifacts -name "*.yaml" -o -name "*.yml" 2>/dev/null || echo "No YAML files found"
47+ find artifacts -name "*.yaml" -o -name "*.yml" 2>/dev/null || echo "No YAML files found"
4948 echo "=================================="
5049 if [ -f "$report_path" ]; then
5150 cat "$report_path"
0 commit comments