mirror of
https://github.com/ansible/gh-action-record-test-results
synced 2026-04-05 19:31:17 +00:00
No description
|
|
||
|---|---|---|
| .github/workflows | ||
| .pre-commit-config.yaml | ||
| .yamllint | ||
| action.yml | ||
| LICENSE | ||
| README.md | ||
ansible/gh-action-record-test-results
This is a GitHub Action for uploading JUnit test results to the aggregated dashboard.
Example use
- name: >-
Upload ${{
matrix.tests.coverage-upload-name || 'awx'
}} jUnit test reports to the unified dashboard
if: >-
!cancelled()
&& steps.make-run.outputs.test-result-files != ''
&& github.event_name == 'push'
&& env.UPSTREAM_REPOSITORY_ID == github.repository_id
&& github.ref_name == github.event.repository.default_branch
uses: ansible/gh-action-record-test-results@3784db66a1b7fb3809999a7251c8a7203a7ffbe8
with:
aggregation-server-url: ${{ vars.PDE_ORG_RESULTS_AGGREGATOR_UPLOAD_URL }}
http-auth-password: >-
${{ secrets.PDE_ORG_RESULTS_UPLOAD_PASSWORD }}
http-auth-username: >-
${{ vars.PDE_ORG_RESULTS_AGGREGATOR_UPLOAD_USER }}
project-component-name: >-
${{ matrix.tests.coverage-upload-name || 'awx' }}
test-result-files: >-
${{ steps.make-run.outputs.test-result-files }}