Sha256: 9cf74088b3f74f630e6bef76ec64f2adc7b1275aa58dedf8313eeea1f354b966

Contents?: true

Size: 1.85 KB

Versions: 1

Compression:

Stored size: 1.85 KB

Contents

version: 2.1

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

commands:
  test-with-starter-frontend:
    steps:
      - checkout
      - browser-tools/install-chrome
      - run:
          name: Install libvips
          command: sudo apt-get install -y libvips
      - solidusio_extensions/test-branch:
          branch: master
          command: |
            export FRONTEND=starter
            sudo gem update --system
            gem install bundler
            bin/dummy-app
            bin/rspec
      - solidusio_extensions/store-test-results

jobs:
  run-specs-with-postgres:
    executor:
      name: solidusio_extensions/postgres
      ruby_version: '3.1'
    steps:
      - test-with-starter-frontend

  run-specs-with-mysql:
    executor:
      name: solidusio_extensions/mysql
      ruby_version: '3.0'
    steps:
      - test-with-starter-frontend

  run-specs-with-sqlite:
    executor:
      name: solidusio_extensions/sqlite
      ruby_version: '2.7'
    steps:
      - test-with-starter-frontend

  lint-code:
    executor: solidusio_extensions/sqlite-memory
    steps:
      - 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

1 entries across 1 versions & 1 rubygems

Version Path
solidus_paypal_commerce_platform-1.0.0.beta1 .circleci/config.yml