Sha256: f174262e3c15c754b581fedfa2f0d8602fc2a6e99deb9629e162da913339ce40

Contents?: true

Size: 1.82 KB

Versions: 2

Compression:

Stored size: 1.82 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-with-postgres:
    executor:
      name: solidusio_extensions/postgres
      ruby_version: '3.1'
    steps:
      - browser-tools/install-browser-tools
      - checkout
      - solidusio_extensions/run-tests-solidus-master
      - solidusio_extensions/store-test-results

  run-specs-with-mysql:
    executor:
      name: solidusio_extensions/mysql
      ruby_version: '3.0'
    steps:
      - browser-tools/install-browser-tools
      - checkout
      - solidusio_extensions/run-tests-solidus-current
      - solidusio_extensions/store-test-results

  run-specs-with-sqlite:
    executor:
      name: solidusio_extensions/sqlite
      ruby_version: '2.7'
    steps:
      - browser-tools/install-browser-tools
      - checkout
      - solidusio_extensions/run-tests-solidus-older
      - solidusio_extensions/store-test-results

  lint-code:
    executor: solidusio_extensions/sqlite-memory
    steps:
      - browser-tools/install-browser-tools
      - solidusio_extensions/lint-code

workflows:
  "Run specs on supported Solidus versions":
    jobs:
      - run-specs-with-postgres
      - run-specs-with-mysql
      - run-specs-with-sqlite
      - lint-code

  "Weekly run specs against master":
    triggers:
      - schedule:
          cron: "0 0 * * 4" # every Thursday
          filters:
            branches:
              only:
                - master
    jobs:
      - run-specs-with-postgres
      - run-specs-with-mysql
      - run-specs-with-sqlite

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
solidus_auth_devise-2.5.6 .circleci/config.yml
solidus_auth_devise-2.5.5 .circleci/config.yml