Sha256: c84258615d2b96327c957baf7025080b24746ad0100c085f2df14dfa8398e7dd

Contents?: true

Size: 925 Bytes

Versions: 2

Compression:

Stored size: 925 Bytes

Contents

version: 2.1

executors:
  gem-executor:
    working_directory: ~/tmp/afterbanks-psd2-api-ruby
    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.5

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

      - run: bundle install

      - save_cache:
          key: afterbanks-psd2-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

2 entries across 2 versions & 1 rubygems

Version Path
afterbanks-psd2-api-ruby-0.1.1 .circleci/config.yml
afterbanks-psd2-api-ruby-0.1.0 .circleci/config.yml