mirror of
https://github.com/ansible/awx.git
synced 2026-02-15 10:10:01 -03:30
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
This commit is contained in:
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -25,19 +25,25 @@ jobs:
|
|||||||
tests:
|
tests:
|
||||||
- name: api-test
|
- name: api-test
|
||||||
command: /start_tests.sh test_coverage
|
command: /start_tests.sh test_coverage
|
||||||
|
coverage-upload-name: ""
|
||||||
- name: api-migrations
|
- name: api-migrations
|
||||||
command: /start_tests.sh test_migrations
|
command: /start_tests.sh test_migrations
|
||||||
|
coverage-upload-name: ""
|
||||||
- name: api-lint
|
- name: api-lint
|
||||||
command: /var/lib/awx/venv/awx/bin/tox -e linters
|
command: /var/lib/awx/venv/awx/bin/tox -e linters
|
||||||
|
coverage-upload-name: ""
|
||||||
- name: api-swagger
|
- name: api-swagger
|
||||||
command: /start_tests.sh swagger
|
command: /start_tests.sh swagger
|
||||||
|
coverage-upload-name: ""
|
||||||
- name: awx-collection
|
- name: awx-collection
|
||||||
command: /start_tests.sh test_collection_all
|
command: /start_tests.sh test_collection_all
|
||||||
|
coverage-upload-name: "awx-collection"
|
||||||
- name: api-schema
|
- name: api-schema
|
||||||
command: >-
|
command: >-
|
||||||
/start_tests.sh detect-schema-change SCHEMA_DIFF_BASE_BRANCH=${{
|
/start_tests.sh detect-schema-change SCHEMA_DIFF_BASE_BRANCH=${{
|
||||||
github.event.pull_request.base.ref || github.ref_name
|
github.event.pull_request.base.ref || github.ref_name
|
||||||
}}
|
}}
|
||||||
|
coverage-upload-name: ""
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@@ -109,7 +115,7 @@ jobs:
|
|||||||
-v \
|
-v \
|
||||||
--user "${{ vars.PDE_ORG_RESULTS_AGGREGATOR_UPLOAD_USER }}:${{ secrets.PDE_ORG_RESULTS_UPLOAD_PASSWORD }}" \
|
--user "${{ vars.PDE_ORG_RESULTS_AGGREGATOR_UPLOAD_USER }}:${{ secrets.PDE_ORG_RESULTS_UPLOAD_PASSWORD }}" \
|
||||||
--form "xunit_xml=@${junit_file}" \
|
--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_commit_sha=${{ github.sha }}" \
|
||||||
--form "git_repository_url=https://github.com/${{ github.repository }}" \
|
--form "git_repository_url=https://github.com/${{ github.repository }}" \
|
||||||
"${{ vars.PDE_ORG_RESULTS_AGGREGATOR_UPLOAD_URL }}/api/results/upload/"
|
"${{ vars.PDE_ORG_RESULTS_AGGREGATOR_UPLOAD_URL }}/api/results/upload/"
|
||||||
|
|||||||
Reference in New Issue
Block a user