File tree 3 files changed +27
-21
lines changed
3 files changed +27
-21
lines changed Original file line number Diff line number Diff line change
1
+ name : Ruby
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
8
+
9
+ jobs :
10
+ test :
11
+ runs-on : ubuntu-latest
12
+ strategy :
13
+ matrix :
14
+ ruby-version : ['2.6', '2.7']
15
+
16
+ steps :
17
+ - uses : actions/checkout@v2
18
+ - name : Set up Ruby
19
+ uses : ruby/setup-ruby@v1
20
+ with :
21
+ ruby-version : ${{ matrix.ruby-version }}
22
+ bundler-cache : true # runs 'bundle install' and caches installed gems automatically
23
+ - name : Run tests
24
+ run : bundle exec rake
25
+ - name : Rubocop
26
+ run : bundle exec rubocop
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ task :rubocop do
19
19
RuboCop ::RakeTask . new
20
20
end
21
21
22
- task test : [ :rubocop ] do
22
+ task :test do
23
23
system ( 'open coverage/index.html' )
24
24
end
25
25
You can’t perform that action at this time.
0 commit comments