File tree 4 files changed +39
-26
lines changed
4 files changed +39
-26
lines changed Original file line number Diff line number Diff line change
1
+ name : Main
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-16.04
12
+ strategy :
13
+ matrix :
14
+ ruby :
15
+ - ' 2.5'
16
+ - ' 2.6'
17
+ gemfile :
18
+ - gemfiles/rails_5_0.gemfile
19
+ - gemfiles/rails_5_1.gemfile
20
+ - gemfiles/rails_5_2.gemfile
21
+ - gemfiles/rails_6_0.gemfile
22
+ - gemfiles/ruby.gemfile
23
+ name : Ruby ${{ matrix.ruby }}, ${{ matrix.gemfile }}
24
+ steps :
25
+ - uses : technote-space/auto-cancel-redundant-job@v1
26
+ if : github.event_name == 'pull_request'
27
+ - uses : actions/checkout@v2
28
+ - uses : actions/setup-ruby@v1
29
+ with :
30
+ ruby-version : ${{ matrix.ruby }}
31
+ - name : Build and test with Rake
32
+ env :
33
+ BUNDLE_GEMFILE : ${{ matrix.gemfile }}
34
+ run : |
35
+ gem install bundler
36
+ bundle install --jobs 4 --retry 3
37
+ bundle exec rake
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
WebValve
2
2
========
3
3
4
- [ ![ Build Status] ( https://travis-ci.org/Betterment/webvalve .svg?branch=master )] ( https://travis-ci.org/Betterment/webvalve )
4
+ ![ Build Status] ( https://github.com/actions/workflows/Main/badge .svg?branch=master )
5
5
[ ![ Gem Status] ( https://img.shields.io/gem/v/webvalve.svg )] ( https://rubygems.org/gems/webvalve )
6
6
7
7
WebValve is a tool for defining and registering fake implementations of
Original file line number Diff line number Diff line change 7
7
Bundler ::GemHelper . install_tasks
8
8
9
9
task ( :default ) . clear
10
- if ENV [ 'APPRAISAL_INITIALIZED' ] || ENV [ 'TRAVIS ' ]
10
+ if ENV [ 'APPRAISAL_INITIALIZED' ] || ENV [ 'CI ' ]
11
11
require 'rspec/core'
12
12
require 'rspec/core/rake_task'
13
13
RSpec ::Core ::RakeTask . new ( :spec )
You can’t perform that action at this time.
0 commit comments