File tree Expand file tree Collapse file tree 3 files changed +42
-5
lines changed Expand file tree Collapse file tree 3 files changed +42
-5
lines changed Original file line number Diff line number Diff line change 1+ # This workflow uses actions that are not certified by GitHub.
2+ # They are provided by a third-party and are governed by
3+ # separate terms of service, privacy policy, and support
4+ # documentation.
5+ # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6+ # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7+
8+ name : Ruby
9+
10+ on :
11+ push :
12+ branches : [ master ]
13+ pull_request :
14+ branches : [ master ]
15+
16+ jobs :
17+ test :
18+
19+ runs-on : ubuntu-latest
20+ name : Ruby ${{ matrix.java }}
21+ strategy :
22+ matrix :
23+ ruby : [2.5]
24+
25+ steps :
26+ - uses : actions/checkout@v2
27+ - name : Set up Ruby ${{ matrix.ruby }}
28+ # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
29+ # change this to (see https://github.com/ruby/setup-ruby#versioning):
30+ # uses: ruby/setup-ruby@v1
31+ uses : ruby/setup-ruby@ec106b438a1ff6ff109590de34ddc62c540232e0
32+ with :
33+ ruby-version : ${{ matrix.ruby }}
34+
35+ - name : Install dependencies
36+ run : bundle install
37+
38+ - name : Run tests
39+ run : bundle exec rake test
40+
41+ - name : Rubocop checks
42+ run : bundle exec rake rubocop
File renamed without changes.
Original file line number Diff line number Diff line change @@ -4,11 +4,6 @@ require "bundler/gem_tasks"
44require "bump/tasks"
55
66require "yaml"
7- travis = YAML . load_file ( Bundler . root . join ( '.travis.yml' ) )
8- . fetch ( 'env' )
9- . map { |v | v . delete ( 'TASK=' ) }
10-
11- task default : travis
127
138require "rake/testtask"
149Rake ::TestTask . new :test do |t |
You can’t perform that action at this time.
0 commit comments