-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
setting up config.yml for ruby-sdk repo
- Loading branch information
Gbolahan M. Bolajoko
authored and
Gbolahan M. Bolajoko
committed
Aug 31, 2023
1 parent
2f2669f
commit 588c8fe
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
version: 2.1 | ||
|
||
executors: | ||
default: | ||
working_directory: ~/sdk | ||
docker: | ||
- image: cimg/ruby:2.7 | ||
|
||
jobs: | ||
build: | ||
executor: default | ||
steps: | ||
- checkout | ||
- setup_remote_docker: | ||
docker_layer_caching: true | ||
- run: | ||
name: Build and run Rubocop | ||
command: | | ||
gem install bundler | ||
bundle install --jobs 4 --retry 3 | ||
bundle exec rubocop --parallel | ||
- run: | ||
name: Build and run tests | ||
command: | | ||
gem install bundler | ||
bundle install --jobs 4 --retry 3 | ||
bundle exec rake tests | ||
workflows: | ||
run: | ||
jobs: | ||
- build |