File tree Expand file tree Collapse file tree 4 files changed +2
-31
lines changed Expand file tree Collapse file tree 4 files changed +2
-31
lines changed Original file line number Diff line number Diff line change @@ -11,27 +11,6 @@ permissions:
11
11
contents : read
12
12
13
13
jobs :
14
- codeclimate :
15
- runs-on : ubuntu-latest
16
- steps :
17
- - name : Get branch names
18
- id : branch-name
19
- uses : tj-actions/branch-names@dde14ac574a8b9b1cedc59a1cf312788af43d8d8 # v8.2.1
20
- - uses : actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
21
- - uses : ruby/setup-ruby@13e7a03dc3ac6c3798f4570bfead2aed4d96abfb # v1.244.0
22
- with :
23
- ruby-version : ' 3.2'
24
- bundler-cache : true
25
- - name : Test & publish code coverage
26
- if : " ${{ env.CC_TEST_REPORTER_ID != '' }}"
27
- uses : paambaati/codeclimate-action@7bcf9e73c0ee77d178e72c0ec69f1a99c1afc1f3 # v2.7.5
28
- env :
29
- CC_TEST_REPORTER_ID : ${{ secrets.CC_TEST_REPORTER_ID }}
30
- GIT_BRANCH : ${{ steps.branch-name.outputs.current_branch }}
31
- GIT_COMMIT_SHA : ${{ github.sha }}
32
- with :
33
- coverageCommand : bundle exec rake
34
-
35
14
test :
36
15
strategy :
37
16
fail-fast : false
Original file line number Diff line number Diff line change 5
5
6
6
gem "activesupport" , "~> 5.2.7"
7
7
gem "bundler"
8
- gem "codeclimate-test-reporter" , "0.4.4"
9
8
gem "pry"
10
9
gem "rake"
11
10
gem "rspec" , "~> 3.1"
Original file line number Diff line number Diff line change 2
2
3
3
[ ![ Gem Version] ( https://badge.fury.io/rb/qiita-markdown.svg )] ( https://badge.fury.io/rb/qiita-markdown )
4
4
[ ![ Build Status] ( https://travis-ci.org/increments/qiita-markdown.svg )] ( https://travis-ci.org/increments/qiita-markdown )
5
- [ ![ Code Climate] ( https://codeclimate.com/github/increments/qiita-markdown/badges/gpa.svg )] ( https://codeclimate.com/github/increments/qiita-markdown )
6
- [ ![ Test Coverage] ( https://codeclimate.com/github/increments/qiita-markdown/badges/coverage.svg )] ( https://codeclimate.com/github/increments/qiita-markdown )
7
5
8
6
Qiita-specified markdown processor.
9
7
Original file line number Diff line number Diff line change 1
1
if ENV [ "CI" ]
2
- if ENV [ "GITHUB_ACTIONS" ]
3
- require "simplecov"
4
- SimpleCov . start
5
- else
6
- require "codeclimate-test-reporter"
7
- CodeClimate ::TestReporter . start
8
- end
2
+ require "simplecov"
3
+ SimpleCov . start
9
4
end
10
5
11
6
require "qiita-markdown"
You can’t perform that action at this time.
0 commit comments