Sha256: 637a83bc19c2a1e82b0dafbe1c0267d2500da5f38b308f1aa8418023d1035cc7

Contents?: true

Size: 881 Bytes

Versions: 3

Compression:

Stored size: 881 Bytes

Contents

version: 2.1

executors:
  gem-executor:
    working_directory: ~/tmp/gem
    docker:
      - image: cimg/ruby:3.0.6
    environment:
      TZ: "Europe/Madrid"

jobs:
  build-test-gem:
    executor: gem-executor
    steps:
      - checkout

      - run:
          name: Update bundler
          command: gem install bundler -v 2.2.25

      - restore_cache:
          keys:
            - invofox-api-ruby-bundle-v2-{{ checksum "Gemfile.lock" }}
            - invofox-api-ruby-bundle-v2-

      - run: bundle install

      - save_cache:
          key: invofox-api-ruby-bundle-v2-{{ checksum "Gemfile.lock" }}
          paths:
            - vendor/bundle

      - run:
          name: Run rspec
          command: bundle exec rspec spec/

      - run:
          name: Run Rubocop
          command: bundle exec rubocop

workflows:
  build-test-gem:
    jobs:
      - build-test-gem

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
invofox-api-ruby-0.1.2 .circleci/config.yml
invofox-api-ruby-0.1.1 .circleci/config.yml
invofox-api-ruby-0.1.0 .circleci/config.yml