Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Test against Rails 5.2

Damian Legawiec04d6ca995a80
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 797d413f67..effaae7e41 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -144,6 +144,34 @@ jobs:
- store_test_results:
path: /tmp/test-results
+ tests_postgres_rails_5_2:
+ <<: *tests_postgres
+ environment:
+ <<: *postgres_environment
+ RAILS_VERSION: '~> 5.2.0'
+ steps:
+ - checkout
+ - restore_cache:
+ keys:
+ - spree-bundle-v8-ruby-2-7-{{ .Branch }}
+ - spree-bundle-v8-ruby-2-7
+ - run:
+ name: Ensure Bundle Install
+ command: |
+ bundle install
+ ./bin/build-ci.rb install
+ - run:
+ name: Run rspec in parallel
+ command: BUNDLE_GEMFILE=../Gemfile ./bin/build-ci.rb test
+ - store_artifacts:
+ path: /tmp/test-artifacts
+ destination: test-artifacts
+ - store_artifacts:
+ path: /tmp/test-results
+ destination: raw-test-output
+ - store_test_results:
+ path: /tmp/test-results
+
tests_mysql: &tests_mysql
<<: *run_tests
environment: &mysql_environment
@@ -265,6 +293,9 @@ workflows:
- tests_postgres_rails_6_0:
requires:
- bundle
+ - tests_postgres_rails_5_2:
+ requires:
+ - bundle
- tests_mysql_ruby_3_0:
requires:
- bundle_ruby_3_0