From 7db7abcd65d533ebfa34eb394e14cbc3941fc31f Mon Sep 17 00:00:00 2001 From: jessicamack Date: Fri, 20 Sep 2024 15:44:39 -0400 Subject: [PATCH] Upload the test results for awx-collection to dashboard (#15543) upload the results for awx-collection separately the rest of the tests can stay under awx --- .github/workflows/ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fcced878e364..4674e513412c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,19 +25,25 @@ jobs: tests: - name: api-test command: /start_tests.sh test_coverage + coverage-upload-name: "" - name: api-migrations command: /start_tests.sh test_migrations + coverage-upload-name: "" - name: api-lint command: /var/lib/awx/venv/awx/bin/tox -e linters + coverage-upload-name: "" - name: api-swagger command: /start_tests.sh swagger + coverage-upload-name: "" - name: awx-collection command: /start_tests.sh test_collection_all + coverage-upload-name: "awx-collection" - name: api-schema command: >- /start_tests.sh detect-schema-change SCHEMA_DIFF_BASE_BRANCH=${{ github.event.pull_request.base.ref || github.ref_name }} + coverage-upload-name: "" steps: - uses: actions/checkout@v4 @@ -109,7 +115,7 @@ jobs: -v \ --user "${{ vars.PDE_ORG_RESULTS_AGGREGATOR_UPLOAD_USER }}:${{ secrets.PDE_ORG_RESULTS_UPLOAD_PASSWORD }}" \ --form "xunit_xml=@${junit_file}" \ - --form "component_name=awx" \ + --form "component_name=${{ matrix.tests.coverage-upload-name || 'awx' }}" \ --form "git_commit_sha=${{ github.sha }}" \ --form "git_repository_url=https://github.com/${{ github.repository }}" \ "${{ vars.PDE_ORG_RESULTS_AGGREGATOR_UPLOAD_URL }}/api/results/upload/"