summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorjessicamack <jmack@redhat.com>2024-09-20 21:44:39 +0200
committerGitHub <noreply@github.com>2024-09-20 21:44:39 +0200
commit7db7abcd65d533ebfa34eb394e14cbc3941fc31f (patch)
tree529dfdc106804eebcdc0a4cef9018e8865080ec5 /.github
parent🧪 Publish awxkit's coverage to Codecov (#15525) (diff)
downloadawx-7db7abcd65d533ebfa34eb394e14cbc3941fc31f.tar.xz
awx-7db7abcd65d533ebfa34eb394e14cbc3941fc31f.zip
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
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index fcced878e3..4674e51341 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/"