File tree Expand file tree Collapse file tree 3 files changed +44
-4
lines changed Expand file tree Collapse file tree 3 files changed +44
-4
lines changed Original file line number Diff line number Diff line change @@ -142,10 +142,13 @@ jobs:
142
142
env :
143
143
DB_ADAPTER : ${{ matrix.adapter }}
144
144
145
- - name : RSpec & publish code coverage
146
-
145
+ - name : Run RSpec
147
146
env :
148
147
DB_ADAPTER : ${{ matrix.adapter }}
149
- CC_TEST_REPORTER_ID : ${{ secrets.CC_TEST_REPORTER_ID }}
148
+ run : bin/rspec
149
+
150
+ - name : Publish code coverage
151
+ uses : qltysh/qlty-action/coverage@v1
150
152
with :
151
- coverageCommand : bin/rspec
153
+ token : ${{ secrets.QLTY_COVERAGE_TOKEN }}
154
+ files : coverage/coverage.json
Original file line number Diff line number Diff line change
1
+ config_version = " 0"
2
+
3
+ [[source ]]
4
+ name = " default"
5
+ default = true
6
+
7
+ [[plugin ]]
8
+ name = " actionlint"
9
+
10
+ [[plugin ]]
11
+ name = " checkov"
12
+ version = " 3.2.49"
13
+
14
+ [[plugin ]]
15
+ name = " markdownlint"
16
+ version = " 0.31.1"
17
+
18
+ [[plugin ]]
19
+ name = " osv-scanner"
20
+
21
+ [[plugin ]]
22
+ name = " prettier"
23
+ version = " 2.8.4"
24
+
25
+ [[plugin ]]
26
+ name = " ripgrep"
27
+
28
+ [[plugin ]]
29
+ name = " trivy"
30
+
31
+ [[plugin ]]
32
+ name = " trufflehog"
33
+
34
+ [[plugin ]]
35
+ name = " yamllint"
Original file line number Diff line number Diff line change 6
6
Combustion . initialize! :active_record , :action_controller
7
7
8
8
require 'simplecov'
9
+ require 'simplecov_json_formatter'
9
10
require 'rspec'
10
11
require 'rspec/retry'
11
12
require 'database_cleaner'
15
16
16
17
# Start Simplecov
17
18
SimpleCov . start do
19
+ formatter SimpleCov ::Formatter ::JSONFormatter
18
20
add_filter 'spec/'
19
21
end
20
22
You can’t perform that action at this time.
0 commit comments