From b890ad6c38e095afa44cc6ddef954c06da939b9a Mon Sep 17 00:00:00 2001 From: Michelle Tran Date: Fri, 6 Dec 2024 10:29:41 -0500 Subject: [PATCH] Expose JUnit files in CI as an artifact This will make it easier to debug test files that have, for whatever reason, not been uploaded. --- .github/workflows/run-tests.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 77a5eb0..79e4546 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -52,6 +52,11 @@ jobs: if: ${{ !cancelled() && inputs.run_integration == true }} run: | make test_env.run_integration + - uses: actions/upload-artifact@v4 + if: ${{ !cancelled() }} + with: + name: junitfiles + path: ./*junit*.xml ## Don't upload on forks for now. - name: upload using codecovcli if: ${{ !cancelled() && !github.event.pull_request.head.repo.fork && github.repository_owner == 'codecov' }}