Sha256: c856c373fd579ddacfd522701b8dca34f603c21225b9a662e94fc36a5510615e

Contents?: true

Size: 1.03 KB

Versions: 3

Compression:

Stored size: 1.03 KB

Contents

version: 2.1

references:
  set_env: &set_env
    run:
      name: Set up environment
      command: |
        echo "export BUNDLE_GEMFILE=$(pwd)/gemfiles/activesupport_$ACTIVESUPPORT_VERSION.gemfile" >> $BASH_ENV
  bundle: &bundle
    run:
      name: Install dependencies
      command: bundle install
  test: &test
    run:
      name: Run test suite
      command: bundle exec rake

jobs:
  test:
    docker:
      - image: "cimg/ruby:<< parameters.ruby_version >>"
    parameters:
      ruby_version:
        type: string
      activesupport_version:
        type: string
    environment:
      ACTIVESUPPORT_VERSION: << parameters.activesupport_version >>
    steps:
      - checkout
      - <<: *set_env
      - <<: *bundle
      - <<: *test

workflows:
  default:
    jobs:
      - test:
          matrix:
            parameters:
              ruby_version: ["2.6", "2.7", "3.0"]
              activesupport_version: ["52", "60", "61", "edge"]
            exclude:
              - ruby_version: "2.6"
                activesupport_version: "edge"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
money_helper-3.0.2 .circleci/config.yml
money_helper-3.0.1 .circleci/config.yml
money_helper-3.0.0 .circleci/config.yml