Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AIT: fix capture artifact when multiple AITs fail #1987

Open
meiao opened this issue Jul 19, 2024 · 1 comment
Open

AIT: fix capture artifact when multiple AITs fail #1987

meiao opened this issue Jul 19, 2024 · 1 comment

Comments

@meiao
Copy link
Contributor

meiao commented Jul 19, 2024

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:

      - 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.
image

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.

Acceptance Criteria

Captured test artifacts have the correct name, matching the test being run.

@workato-integration
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant