1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Generalize CI templates

This commit is contained in:
Frank Lam 2020-06-03 04:26:57 +08:00 committed by Hiroshi SHIBATA
parent 1cb88eb2ba
commit 481840ff18
Notes: git 2020-06-18 19:15:06 +09:00
3 changed files with 5 additions and 5 deletions

View file

@ -6,8 +6,8 @@ jobs:
steps: steps:
- checkout - checkout
- run: - run:
name: Run tests name: Run the default task
command: | command: |
gem install bundler -v <%= Bundler::VERSION %> gem install bundler -v <%= Bundler::VERSION %>
bundle install bundle install
bundle exec rake test bundle exec rake

View file

@ -11,7 +11,7 @@ jobs:
uses: ruby/setup-ruby@v1 uses: ruby/setup-ruby@v1
with: with:
ruby-version: <%= RUBY_VERSION %> ruby-version: <%= RUBY_VERSION %>
- name: Run tests - name: Run the default task
run: | run: |
gem install bundler -v <%= Bundler::VERSION %> gem install bundler -v <%= Bundler::VERSION %>
bundle install bundle install

View file

@ -4,6 +4,6 @@ before_script:
- gem install bundler -v <%= Bundler::VERSION %> - gem install bundler -v <%= Bundler::VERSION %>
- bundle install - bundle install
test: example_job:
script: script:
- bundle exec rake test - bundle exec rake