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:
1111 contents : read
1212
1313jobs :
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-
3514 test :
3615 strategy :
3716 fail-fast : false
Original file line number Diff line number Diff line change 55
66gem "activesupport" , "~> 5.2.7"
77gem "bundler"
8- gem "codeclimate-test-reporter" , "0.4.4"
98gem "pry"
109gem "rake"
1110gem "rspec" , "~> 3.1"
Original file line number Diff line number Diff line change 22
33[ ![ Gem Version] ( https://badge.fury.io/rb/qiita-markdown.svg )] ( https://badge.fury.io/rb/qiita-markdown )
44[ ![ 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 )
75
86Qiita-specified markdown processor.
97
Original file line number Diff line number Diff line change 11if 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
94end
105
116require "qiita-markdown"
You can’t perform that action at this time.
0 commit comments