Sha256: fcca0615a8075c9e0242e3f102c52ef1c9dc5481891f13755dc830032a170b70

Contents?: true

Size: 1.61 KB

Versions: 1

Compression:

Stored size: 1.61 KB

Contents

version: 2.1

orbs:
  # 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

commands:
  setup:
    steps:
      - checkout
      - run:
          name: "Update bundler"
          command: |
            sudo gem update --system
            gem --version
            gem install bundler -v '>=2.3.21' --conservative
            bundle --version

jobs:
  solidus-main:
    executor:
      name: solidusio_extensions/sqlite
      ruby_version: '3.1'
    steps: ['setup', 'solidusio_extensions/run-tests-solidus-main']
  solidus-current:
    executor:
      name: solidusio_extensions/sqlite
      ruby_version: '3.0'
    steps: ['setup', 'solidusio_extensions/run-tests-solidus-current']
  solidus-older:
    executor:
      name: solidusio_extensions/sqlite
      ruby_version: '2.7'
    steps: ['setup', 'solidusio_extensions/run-tests-solidus-older']
  lint-code:
    executor:
      name: solidusio_extensions/sqlite
      ruby_version: '3.0'
    steps: ['setup', 'solidusio_extensions/lint-code']

workflows:
  "Run specs on supported Solidus versions":
    jobs:
      - solidus-main
      - solidus-current
      - solidus-older
      - lint-code

  "Weekly run specs against main":
    triggers:
      - schedule:
          cron: "0 0 * * 4" # every Thursday
          filters:
            branches:
              only:
                - main
    jobs:
      - solidus-main
      - solidus-current
      - solidus-older

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_dev_support-2.7.0 .circleci/config.yml