58
58
- name : Checkout
59
59
uses : actions/checkout@v4
60
60
61
+ # Raw `bundle` will use the BUNDLE_GEMFILE set to matrix.gemfile (i.e. Appraisal.root)
62
+ # We need to do this first to get appraisal installed.
63
+ # NOTE: This does not use the main Gemfile at all.
61
64
- name : Setup Ruby & RubyGems
62
65
uses : ruby/setup-ruby@v1
63
66
with :
71
74
if : ${{ github.event_name != 'pull_request' }}
72
75
continue-on-error : ${{ matrix.experimental != 'false' }}
73
76
74
- # Raw `bundle` will use the BUNDLE_GEMFILE set to matrix.gemfile (i.e. Appraisal.root)
75
- # We need to do this first to get appraisal installed.
76
- # NOTE: This does not use the main Gemfile at all.
77
- - name : Install Root Appraisal
78
- run : bundle
79
77
- name : Appraisal for ${{ matrix.appraisal }}
80
78
run : bundle exec appraisal ${{ matrix.appraisal }} bundle
81
79
- name : Tests for ${{ matrix.ruby }}@current via ${{ matrix.exec_cmd }}
98
96
hide_complexity : true
99
97
indicators : true
100
98
output : both
101
- thresholds : ' 69 80 '
99
+ thresholds : ' 100 100 '
102
100
continue-on-error : ${{ matrix.experimental != 'false' }}
103
101
104
102
- name : Add Coverage PR Comment
@@ -109,13 +107,22 @@ jobs:
109
107
path : code-coverage-results.md
110
108
continue-on-error : ${{ matrix.experimental != 'false' }}
111
109
112
- - name : Coveralls
110
+ - name : Upload coverage to Coveralls
113
111
uses : coverallsapp/github-action@master
114
112
with :
115
113
github-token : ${{ secrets.GITHUB_TOKEN }}
116
114
continue-on-error : ${{ matrix.experimental != 'false' }}
117
115
118
- - name : Upload results to Codecov
116
+ - name : Upload coverage to QLTY
117
+ uses : qltysh/qlty-action/coverage@main
118
+ with :
119
+ coverage-token : ${{secrets.QLTY_COVERAGE_TOKEN}}
120
+ files : coverage/.resultset.json
121
+ continue-on-error : ${{ matrix.experimental != 'false' }}
122
+
123
+ - name : Upload coverage to CodeCov
119
124
uses : codecov/codecov-action@v5
120
125
with :
126
+ fail_ci_if_error : true # optional (default = false)
121
127
token : ${{ secrets.CODECOV_TOKEN }}
128
+ verbose : true # optional (default = false)
0 commit comments