diff options
author | Frank Lam <ryzingsun11@yahoo.com> | 2020-06-03 04:26:57 +0800 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-06-18 19:14:15 +0900 |
commit | 481840ff18b2d66b20a42240829e06829c34f8f7 (patch) | |
tree | 47f43e1727c298e714ca22f7590e46803ad3888c /lib | |
parent | 1cb88eb2ba04a5e23f7e6827e81654e87af771ca (diff) |
Generalize CI templates
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3212
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bundler/templates/newgem/.circleci/config.yml.tt | 4 | ||||
-rw-r--r-- | lib/bundler/templates/newgem/.github/workflows/main.yml.tt | 2 | ||||
-rw-r--r-- | lib/bundler/templates/newgem/.gitlab-ci.yml.tt | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/lib/bundler/templates/newgem/.circleci/config.yml.tt b/lib/bundler/templates/newgem/.circleci/config.yml.tt index 7430bb5583..79fd0dcc0f 100644 --- a/lib/bundler/templates/newgem/.circleci/config.yml.tt +++ b/lib/bundler/templates/newgem/.circleci/config.yml.tt @@ -6,8 +6,8 @@ jobs: steps: - checkout - run: - name: Run tests + name: Run the default task command: | gem install bundler -v <%= Bundler::VERSION %> bundle install - bundle exec rake test + bundle exec rake diff --git a/lib/bundler/templates/newgem/.github/workflows/main.yml.tt b/lib/bundler/templates/newgem/.github/workflows/main.yml.tt index 40112f661a..807c8dd79a 100644 --- a/lib/bundler/templates/newgem/.github/workflows/main.yml.tt +++ b/lib/bundler/templates/newgem/.github/workflows/main.yml.tt @@ -11,7 +11,7 @@ jobs: uses: ruby/setup-ruby@v1 with: ruby-version: <%= RUBY_VERSION %> - - name: Run tests + - name: Run the default task run: | gem install bundler -v <%= Bundler::VERSION %> bundle install diff --git a/lib/bundler/templates/newgem/.gitlab-ci.yml.tt b/lib/bundler/templates/newgem/.gitlab-ci.yml.tt index 5633276b91..0e71ff26a4 100644 --- a/lib/bundler/templates/newgem/.gitlab-ci.yml.tt +++ b/lib/bundler/templates/newgem/.gitlab-ci.yml.tt @@ -4,6 +4,6 @@ before_script: - gem install bundler -v <%= Bundler::VERSION %> - bundle install -test: +example_job: script: - - bundle exec rake test + - bundle exec rake |