Sha256: 5d48b345c33c31fb553c66127f6adf0a01079b171c55c8b1f2e481934f8d2fa1

Contents?: true

Size: 1.99 KB

Versions: 5

Compression:

Stored size: 1.99 KB

Contents

version: 2.1

orbs:
  # Required for feature specs.
  browser-tools: circleci/browser-tools@1.1

  # Always take the latest version of the orb, this allows us to
  # run specs against Solidus supported versions only without the need
  # to change this configuration every time a Solidus version is released
  # or goes EOL.
  solidusio_extensions: solidusio/extensions@volatile

jobs:
  run-specs:
    parameters:
      solidus:
        type: string
        default: main
      db:
        type: string
        default: "postgres"
      ruby:
        type: string
        default: "3.2"
    executor:
      name: solidusio_extensions/<< parameters.db >>
      ruby_version: << parameters.ruby >>
    steps:
      - checkout
      - browser-tools/install-chrome
      - solidusio_extensions/run-tests-solidus-<< parameters.solidus >>

  lint-code:
    executor:
      name: solidusio_extensions/sqlite
      ruby_version: "3.0"
    steps:
      - solidusio_extensions/lint-code

workflows:
  "Run specs on supported Solidus versions":
    jobs:
      - run-specs:
          name: &name "run-specs-solidus-<< matrix.solidus >>-ruby-<< matrix.ruby >>-db-<< matrix.db >>"
          matrix:
            parameters: { solidus: ["main"], ruby: ["3.2"], db: ["postgres"] }
      - run-specs:
          name: *name
          matrix:
            parameters: { solidus: ["current"], ruby: ["3.1"], db: ["mysql"] }
      - run-specs:
          name: *name
          matrix:
            parameters: { solidus: ["older"], ruby: ["3.0"], db: ["sqlite"] }
      - lint-code

  "Weekly run specs against main":
    triggers:
      - schedule:
          cron: "0 0 * * 4" # every Thursday
          filters:
            branches:
              only:
                - main
    jobs:
      - run-specs:
          name: *name
          matrix:
            parameters: { solidus: ["main"], ruby: ["3.2"], db: ["postgres"] }
      - run-specs:
          name: *name
          matrix:
            parameters: { solidus: ["current"], ruby: ["3.1"], db: ["mysql"] }

Version data entries

5 entries across 5 versions & 3 rubygems

Version Path
solidus_volume_pricing-1.2.0 .circleci/config.yml
solidus_volume_pricing-1.1.1 .circleci/config.yml
solidus_jwt-1.2.2 .circleci/config.yml
solidus_user_roles-2.0.1 .circleci/config.yml
solidus_user_roles-2.0.0 .circleci/config.yml