Open meiao opened 4 months ago
When an AIT fails, we capture some info about the test. This info is captured using the upload-artifact action. The step that does it is:
- name: Capture testing artifacts if: ${{ failure() || success() }} uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # pin@v4 with: name: ${{ github.workflow }}-${{ github.job }}-${{ env.MATRIX }} path: | agent-integration-tests/testing-artifacts/*
But during execution, it looks like the name is not being properly populated.
github.workflow seems to resolve to Test Suite - PR, github.job to tests, but it looks like ${{env.MATRIX}} is not populating as we would expect.
github.workflow
Test Suite - PR
github.job
tests
Captured test artifacts have the correct name, matching the test being run.
https://new-relic.atlassian.net/browse/NR-293730
Description
When an AIT fails, we capture some info about the test. This info is captured using the upload-artifact action. The step that does it is:
But during execution, it looks like the name is not being properly populated.
github.workflow
seems to resolve toTest Suite - PR
,github.job
totests
, but it looks like ${{env.MATRIX}} is not populating as we would expect.Acceptance Criteria
Captured test artifacts have the correct name, matching the test being run.