File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change 3939 uses : codecov/codecov-action@v1
4040 with :
4141 file : ./coverage.xml
42- # The below step just reports the success or failure of tests as a "commit status".
43- # This is needed for copybara integration.
44- - name : Report success or failure as github status
45- if : always()
46- shell : bash
47- run : |
48- status="${{ job.status }}"
49- lowercase_status=$(echo $status | tr '[:upper:]' '[:lower:]')
50- curl -sS --request POST \
51- --url https://api.github.com/repos/${{ github.repository }}/statuses/${{ github.sha }} \
52- --header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
53- --header 'content-type: application/json' \
54- --data '{
55- "state": "'$lowercase_status'",
56- "target_url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}",
57- "description": "'$status'",
58- "context": "github-actions/Build"
59- }'
You can’t perform that action at this time.
0 commit comments