File tree Expand file tree Collapse file tree 2 files changed +0
-31
lines changed Expand file tree Collapse file tree 2 files changed +0
-31
lines changed Original file line number Diff line number Diff line change 62
62
against : " https://github.com/${{ github.repository }}.git#branch=${{ github.event.pull_request.base.ref }},subdir=proto"
63
63
# do not fail the build if there are breaking changes
64
64
continue-on-error : true
65
- - name : Make buf breaking changes outcome as txt file
66
- run : |
67
- mkdir -p ./result/
68
- echo "${{ steps.break-check.outcome }}" > ./result/outcome.txt
69
- echo "${{ github.event.pull_request.number }}" > ./result/pr_number.txt
70
- - uses : actions/upload-artifact@v2
71
- with :
72
- name : result
73
- path : ./result/
Original file line number Diff line number Diff line change 44
44
run : |
45
45
make test-unit-cover
46
46
if : env.GIT_DIFF
47
- - name : Check if test coverage is above threshold
48
- id : output-coverage
49
- uses : vladopajic/go-test-coverage@v2
50
- with :
51
- profile : cover.out
52
- local-prefix : github.com/ExocoreNetwork/exocore
53
- # TODO: increase this threshold with time to 80
54
- threshold-total : 0
55
- if : env.GIT_DIFF
56
- # even if coverage is low, do not exit.
57
- continue-on-error : true
58
- - name : Generate artifact for PR
59
- run : |
60
- mkdir -p ./result/
61
- echo "${{ steps.output-coverage.outputs.total-coverage }}" > ./result/coverage.txt
62
- echo "${{ github.event.pull_request.number }}" > ./result/pr_number.txt
63
- if : env.GIT_DIFF && github.event_name == 'pull_request'
64
- - uses : actions/upload-artifact@v2
65
- with :
66
- name : result
67
- path : ./result/
68
- if : env.GIT_DIFF && github.event_name == 'pull_request'
You can’t perform that action at this time.
0 commit comments