Skip to content

Commit

Permalink
setting up config.yml for ruby-sdk repo
Browse files Browse the repository at this point in the history
  • 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.
32 changes: 32 additions & 0 deletions .circleci/config.yml
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

0 comments on commit 588c8fe

Please sign in to comment.