File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,21 +36,14 @@ jobs:
3636 with :
3737 ruby-version : ${{ matrix.ruby-version }}
3838 bundler-cache : true
39- - uses : amancevice/setup-code-climate@v2
40- name : CodeClimate setup
41- if : ${{ matrix.coverage == 'true' }}
42- with :
43- cc_test_reporter_id : ${{ secrets.CC_TEST_REPORTER_ID }}
44- - name : CodeClimate before-build
45- run : cc-test-reporter before-build
46- if : ${{ matrix.coverage == 'true' }}
47- continue-on-error : true
4839 - name : Run tests
4940 env :
5041 COVERAGE : ${{ matrix.coverage }}
5142 run : bundle exec rake spec
52- - name : CodeClimate after-build
53- run : cc-test-reporter after-build
43+ - uses : qltysh/qlty-action/coverage@v2
44+ with :
45+ token : {{secrets.QLTY_COVERAGE_TOKEN}}
46+ files : coverage/.resultset.json
5447 if : ${{ matrix.coverage == 'true' }}
5548 continue-on-error : true
5649 Standard :
7467 ruby-version : ' 3.3'
7568 bundler-cache : true
7669 - name : Check gem RBI files
77- run : bin/tapioca gems --verify
70+ run : bin/tapioca gem --verify
7871 - name : Run Sorbet
7972 run : bundle exec rake sorbet
Original file line number Diff line number Diff line change @@ -13,4 +13,5 @@ gem "tapioca"
1313group :test do
1414 gem "rspec" , "~> 3.0"
1515 gem "simplecov" , "~> 0.18"
16+ gem "simplecov_json_formatter" , "~> 0.1.4"
1617end
Original file line number Diff line number Diff line change 124124PLATFORMS
125125 arm64-darwin-21
126126 arm64-darwin-23
127+ arm64-darwin-24
127128 linux
128129 x86_64-darwin-19
129130 x86_64-linux
@@ -135,6 +136,7 @@ DEPENDENCIES
135136 repeatable !
136137 rspec (~> 3.0 )
137138 simplecov (~> 0.18 )
139+ simplecov_json_formatter (~> 0.1.4 )
138140 sorbet-static-and-runtime
139141 standard (~> 1.0 )
140142 tapioca
Original file line number Diff line number Diff line change 22
33if ENV [ "COVERAGE" ] == "true"
44 require "simplecov"
5- SimpleCov . start
5+ require "simplecov_json_formatter"
6+
7+ SimpleCov . start do
8+ SimpleCov . formatter SimpleCov ::Formatter ::JSONFormatter
9+ SimpleCov . add_filter "/spec/"
10+ end
611end
712
813$LOAD_PATH. unshift File . expand_path ( "../../lib" , __FILE__ )
You can’t perform that action at this time.
0 commit comments