File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 46
46
- name : Run receptor tests
47
47
run : go test -v 2>&1 ./... | go-junit-report > report.xml
48
48
49
+ - name : Upload test results to dashboard
50
+ if : >-
51
+ !cancelled()
52
+ && github.event_name == 'push'
53
+ && github.repository == 'ansible/receptor'
54
+ && github.ref_name == github.event.repository.default_branch
55
+ run : >-
56
+ curl -v --user "${{ vars.PDE_ORG_RESULTS_AGGREGATOR_UPLOAD_USER }}:${{ secrets.PDE_ORG_RESULTS_UPLOAD_PASSWORD }}"
57
+ --form "xunit_xml=@report.xml"
58
+ --form "component_name=receptor"
59
+ --form "git_commit_sha=${{ github.sha }}"
60
+ --form "git_repository_url=https://github.com/${{ github.repository }}"
61
+ "${{ vars.PDE_ORG_RESULTS_AGGREGATOR_UPLOAD_URL }}/api/results/upload/"
62
+
49
63
- name : get k8s logs
50
64
if : ${{ failure() }}
51
65
run : .github/workflows/artifact-k8s-logs.sh
You can’t perform that action at this time.
0 commit comments