66
66
bundler : " ${{ matrix.bundler }}"
67
67
bundler-cache : false
68
68
69
- - name : CodeClimate Pre-build Notification
70
- run : cc-test-reporter before-build
71
- if : ${{ github.event_name != 'pull_request' }}
72
- continue-on-error : ${{ matrix.experimental != 'false' }}
73
-
74
69
# Raw `bundle` will use the BUNDLE_GEMFILE set to matrix.gemfile (i.e. Appraisal.root)
75
70
# We need to do this first to get appraisal installed.
76
71
# NOTE: This does not use the main Gemfile at all.
81
76
- name : Tests for ${{ matrix.ruby }}@current via ${{ matrix.exec_cmd }}
82
77
run : bundle exec appraisal ${{ matrix.appraisal }} bundle exec ${{ matrix.exec_cmd }}
83
78
84
- - name : CodeClimate Post-build Notification
85
- run : cc-test-reporter after-build
86
- if : ${{ github.event_name != 'pull_request' }}
87
- continue-on-error : ${{ matrix.experimental != 'false' }}
88
-
89
79
- name : Code Coverage Summary Report
90
80
91
81
if : ${{ github.event_name == 'pull_request' }}
98
88
hide_complexity : true
99
89
indicators : true
100
90
output : both
101
- thresholds : ' 69 80 '
91
+ thresholds : ' 100 100 '
102
92
continue-on-error : ${{ matrix.experimental != 'false' }}
103
93
104
94
- name : Add Coverage PR Comment
@@ -109,13 +99,22 @@ jobs:
109
99
path : code-coverage-results.md
110
100
continue-on-error : ${{ matrix.experimental != 'false' }}
111
101
112
- - name : Coveralls
102
+ - name : Upload coverage to Coveralls
113
103
uses : coverallsapp/github-action@master
114
104
with :
115
105
github-token : ${{ secrets.GITHUB_TOKEN }}
116
106
continue-on-error : ${{ matrix.experimental != 'false' }}
117
107
118
- - name : Upload results to Codecov
108
+ - name : Upload coverage to QLTY
109
+ uses : qltysh/qlty-action/coverage@main
110
+ with :
111
+ coverage-token : ${{secrets.QLTY_COVERAGE_TOKEN}}
112
+ files : coverage/.resultset.json
113
+ continue-on-error : ${{ matrix.experimental != 'false' }}
114
+
115
+ - name : Upload coverage to CodeCov
119
116
uses : codecov/codecov-action@v5
120
117
with :
118
+ fail_ci_if_error : true # optional (default = false)
121
119
token : ${{ secrets.CODECOV_TOKEN }}
120
+ verbose : true # optional (default = false)
0 commit comments