File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 with :
1919 ruby-version : ' 2.7'
2020 bundler-cache : true # runs 'bundle install' and caches installed gems automatically
21- - name : Install Rubocop
21+ - name : Install RuboCop
2222 run : gem install rubocop rubocop-rspec
23- - name : Check code
23+ - name : Run RuboCop
2424 run : rubocop
25+ # id: rubocop-check
26+ # run: echo "::set-output name=results::$(rubocop)"
27+
28+ # - name: View context attributes
29+ # uses: actions/github-script@v4
30+ # with:
31+ # script: console.log("${{steps.rubocop-check.outputs.results}}")
32+ # - name: View context attributes 2
33+ # uses: actions/github-script@v4
34+ # with:
35+ # script: console.log(JSON.stringify(${{steps}}))
Original file line number Diff line number Diff line change 4646 run : bundle exec rails db:setup
4747 - name : Run tests
4848 run : bundle exec rake
49+
50+ # - name: Upload coverage results
51+ # uses: actions/upload-artifact@master
52+ # if: always()
53+ # with:
54+ # name: coverage-report
55+ # path: coverage/index.html
Original file line number Diff line number Diff line change 33require 'simplecov'
44SimpleCov . start :rails do
55 filters . clear
6- add_filter %r{^/spec/}
76 add_filter %r{^/lib/active_storage_db/version.rb}
7+ add_filter %r{^/spec/}
8+ add_filter %r{^/vendor/}
89end
910
1011require 'spec_helper'
You can’t perform that action at this time.
0 commit comments