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:
parent
1cb88eb2ba
commit
481840ff18
Notes:
git
2020-06-18 19:15:06 +09:00
3 changed files with 5 additions and 5 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue