solidus_frontend 4.0.0.dev → 4.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e44b1fc677f1a5395be411196cf20483f8d6c96e18251f78376046c102d9ca7a
4
- data.tar.gz: 0cbb98a3a5864aefecbaa0fa140a21f58ab92e730b52ecf18b03ca3848a64435
3
+ metadata.gz: dd60be911178a15bc3341c721a5b19dcf84e11558199d5634ec9382c17bde14d
4
+ data.tar.gz: 7809c9e463ed1bea60b8e3f710dcd59f084fc318d47a2abf08beac4b1d6a2f38
5
5
  SHA512:
6
- metadata.gz: ea2f67025d772768902918cd58a6ad6f7fdee7f2b86e8715914f1d9ad6d57e2e446b1c6240247230baf2a6effdf6a93c0faafaa05766ed5fc8a8f6a40d55d665
7
- data.tar.gz: ac9c5b3c28cc76a64c13769fabe5a22c4d111aef5caedbbf903b32637e010b4891c94724ffdd91b58d98338c3bdc9bc1e93a16f3ff51d3208e4bac83bdad0caa
6
+ metadata.gz: 88fcf1c04e3e8ee9439abc31cafd00b8d9af66115a0d6dec5618c5db75656ff2163479791e117104507e71a32216d29430aa40caf4f76ec493b1da659a95b533
7
+ data.tar.gz: 7cffedee5244f1f0aa5a24a58c0e6cc832e63993ec97f42f31ba1356ebcc37b51061022be3e76167fd6a34e25ad2fbbcc31e45f1eb6e8ac209ae11fbc5014255
@@ -0,0 +1,25 @@
1
+ name: Test
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ - v4.6
8
+ pull_request:
9
+ workflow_dispatch:
10
+ schedule:
11
+ - cron: "0 0 * * 4" # every Thursday
12
+
13
+ concurrency:
14
+ group: test-${{ github.ref_name }}
15
+ cancel-in-progress: ${{ github.ref_name != 'main' }}
16
+
17
+ permissions:
18
+ contents: read
19
+
20
+ jobs:
21
+ test:
22
+ uses: solidusio/test-solidus-extension/.github/workflows/test.yml@main
23
+ with:
24
+ solidus_branches: '["v4.6"]'
25
+ ruby_versions: '["3.2", "3.4"]'
data/CHANGELOG.md CHANGED
@@ -1,36 +1,3 @@
1
1
  # Changelog
2
2
 
3
- ## Solidus v3.4.0 (v3.4, 2023-04-21)
4
-
5
- ## Solidus v3.3.0 (v3.3, 2023-01-24)
6
-
7
- - Fix CircleCI errors due to libvips not being found [#27](https://github.com/solidusio/solidus_frontend/pull/27) ([waiting-for-dev](https://github.com/waiting-for-dev))
8
- - Update Changelog with latest released versions [#26](https://github.com/solidusio/solidus_frontend/pull/26) ([waiting-for-dev](https://github.com/waiting-for-dev))
9
- - [v3.2] Notify CI failures on Slack [#25](https://github.com/solidusio/solidus_frontend/pull/25) ([waiting-for-dev](https://github.com/waiting-for-dev))
10
- - Notify CI failures on Slack [#24](https://github.com/solidusio/solidus_frontend/pull/24) ([waiting-for-dev](https://github.com/waiting-for-dev))
11
- - Touch the robots file before appending to it [#18](https://github.com/solidusio/solidus_frontend/pull/18) ([elia](https://github.com/elia))
12
- - Handle robots in here [#17](https://github.com/solidusio/solidus_frontend/pull/17) ([elia](https://github.com/elia))
13
- - [v3.2] Skip trying to install solidus_bolt when there's no Gemfile [#16](https://github.com/solidusio/solidus_frontend/pull/16) ([waiting-for-dev](https://github.com/waiting-for-dev))
14
- - Skip trying to install solidus_bolt when there's no Gemfile [#15](https://github.com/solidusio/solidus_frontend/pull/15) ([waiting-for-dev](https://github.com/waiting-for-dev))
15
- - Ask whether to add solidus_bolt during installation [#14](https://github.com/solidusio/solidus_frontend/pull/14) ([waiting-for-dev](https://github.com/waiting-for-dev))
16
- - Fix display of tax adjustments in checkout [#11](https://github.com/solidusio/solidus_frontend/pull/11) ([adammathys](https://github.com/adammathys))
17
- - Utilize Rails redirect methods [#9](https://github.com/solidusio/solidus_frontend/pull/9) ([cpfergus1](https://github.com/cpfergus1))
18
- - Bump version to 3.3.0.alpha [#6](https://github.com/solidusio/solidus_frontend/pull/6) ([waiting-for-dev](https://github.com/waiting-for-dev))
19
-
20
- ## Solidus v3.2.5 (v3.2, 2022-12-23)
21
-
22
- ## Solidus v3.2.4 (v3.2, 2022-11-09)
23
-
24
- ## Solidus v3.2.3 (v3.2, 2022-11-03)
25
-
26
- ## Solidus v3.2.2 (v3.2, 2022-09-09)
27
-
28
- - Ask whether to add solidus_bolt during installation [#14](https://github.com/solidusio/solidus_frontend/pull/14) ([waiting-for-dev](https://github.com/waiting-for-dev))
29
-
30
- ## Solidus v3.2.1 (v3.2, 2022-09-09)
31
-
32
- ## Solidus v3.2.0 (v3.2, 2022-08-18)
33
-
34
- - Initial release from the standalone repository. See [Solidus'
35
- CHANGELOG](https://github.com/solidusio/solidus/blob/master/CHANGELOG.md) for
36
- previous updates.
3
+ See https://github.com/solidusio/solidus_frontend/releases.
data/Gemfile CHANGED
@@ -2,14 +2,16 @@
2
2
 
3
3
  source 'https://rubygems.org'
4
4
 
5
- branch = ENV.fetch('SOLIDUS_BRANCH', 'master')
5
+ branch = ENV.fetch('SOLIDUS_BRANCH', 'v4.6')
6
6
 
7
- git "https://github.com/solidusio/solidus.git", branch: branch do
8
- gem 'solidus_api'
9
- gem 'solidus_core'
10
- end
7
+ # The storefront's promotion features build on the legacy promotion
8
+ # system, which lives in the solidus_legacy_promotions gem since Solidus
9
+ # 4.4, and its admin assets require solidus_backend, so we test against
10
+ # the full solidus gem.
11
+ gem 'solidus', git: "https://github.com/solidusio/solidus.git", branch: branch
11
12
 
12
- gem 'rails', ENV.fetch('RAILS_VERSION', nil)
13
+ rails_version = ENV.fetch('RAILS_VERSION', '7.2')
14
+ gem 'rails', "~> #{rails_version}"
13
15
 
14
16
  # Temporarily locking sprockets to v3.x
15
17
  # see https://github.com/solidusio/solidus/issues/3374
@@ -22,7 +24,11 @@ when 'mysql'
22
24
  when 'postgresql'
23
25
  gem 'pg'
24
26
  else
25
- gem 'sqlite3'
27
+ if rails_version <= "7.2"
28
+ gem 'sqlite3', "~> 1.7"
29
+ else
30
+ gem 'sqlite3', "~> 2.0"
31
+ end
26
32
  end
27
33
 
28
34
  gemspec
data/README.md CHANGED
@@ -1,19 +1,30 @@
1
1
  # solidus\_frontend
2
2
 
3
- Frontend contains controllers and views implementing a storefront and cart for Solidus.
3
+ Frontend contains controllers and views implementing a storefront and cart for
4
+ Solidus.
4
5
 
5
- ## Warning
6
+ ## 🚧 Warning
6
7
 
7
- For new Solidus apps, we recommend that you use
8
- [SolidusStarterFrontend](https://github.com/solidusio/solidus_starter_frontend)
8
+ This gem is deprecated. New Solidus installations use
9
+ [Solidus Storefront](https://github.com/solidusio/solidus/tree/main/storefront#readme)
9
10
  instead.
10
11
 
12
+ This repository will only accept bug fixes and security patches for the branches
13
+ that match supported versions of Solidus:
14
+
15
+ | Branch | End of Life |
16
+ | --------------------------------------------------------------- | ----------- |
17
+ | [v4.7](https://github.com/solidusio/solidus_frontend/tree/v4.7) | 2027-10-08 |
18
+ | [v4.6](https://github.com/solidusio/solidus_frontend/tree/v4.6) | 2027-03-03 |
19
+
11
20
  ## Override views
12
21
 
13
- In order to customize a view you should copy the file into your host app. Using Deface is not
14
- recommended as it provides lots of headaches while debugging and degrades your shops performance.
22
+ In order to customize a view you should copy the file into your host app. Using
23
+ Deface is not recommended as it provides lots of headaches while debugging and
24
+ degrades your shops performance.
15
25
 
16
- Solidus provides a generator to help with copying the right view into your host app.
26
+ Solidus provides a generator to help with copying the right view into your host
27
+ app.
17
28
 
18
29
  Simply call the generator to copy all views into your host app.
19
30
 
@@ -21,27 +32,31 @@ Simply call the generator to copy all views into your host app.
21
32
  $ bundle exec rails g solidus:views:override
22
33
  ```
23
34
 
24
- If you only want to copy certain views into your host app, you can provide the `--only` argument:
35
+ If you only want to copy certain views into your host app, you can provide the
36
+ `--only` argument:
25
37
 
26
38
  ```bash
27
39
  $ bundle exec rails g solidus:views:override --only products/show
28
40
  ```
29
41
 
30
- The argument to `--only` can also be a substring of the name of the view from the `app/views/spree` folder:
42
+ The argument to `--only` can also be a substring of the name of the view from
43
+ the `app/views/spree` folder:
31
44
 
32
45
  ```bash
33
46
  $ bundle exec rails g solidus:views:override --only product
34
47
  ```
35
48
 
36
- This will copy all views whose directory or filename contains the string "product".
49
+ This will copy all views whose directory or filename contains the string
50
+ "product".
37
51
 
38
52
  ### Handle upgrades
39
53
 
40
- After upgrading Solidus to a new version run the generator again and follow on screen instructions.
54
+ After upgrading Solidus to a new version run the generator again and follow on
55
+ screen instructions.
41
56
 
42
57
  ## Developing Solidus Frontend
43
58
 
44
- * Clone the Git repo
59
+ - Clone the Git repo
45
60
 
46
61
  ```bash
47
62
  git clone git://github.com/solidusio/solidus_frontend.git
@@ -50,13 +65,14 @@ After upgrading Solidus to a new version run the generator again and follow on s
50
65
 
51
66
  ### Without Docker
52
67
 
53
- * Install the gem dependencies
68
+ - Install the gem dependencies
54
69
 
55
70
  ```bash
56
71
  bin/setup
57
72
  ```
58
73
 
59
- _Note_: If you're using PostgreSQL or MySQL, you'll need to install those gems through the DB environment variable.
74
+ _Note_: If you're using PostgreSQL or MySQL, you'll need to install those gems
75
+ through the DB environment variable.
60
76
 
61
77
  ```bash
62
78
  # PostgreSQL
@@ -74,7 +90,8 @@ After upgrading Solidus to a new version run the generator again and follow on s
74
90
  docker-compose up -d
75
91
  ```
76
92
 
77
- Wait for all the gems to be installed (progress can be checked through `docker-compose logs -f app`).
93
+ Wait for all the gems to be installed (progress can be checked through
94
+ `docker-compose logs -f app`).
78
95
 
79
96
  You can provide the ruby version you want your image to use:
80
97
 
@@ -83,7 +100,8 @@ docker-compose build --build-arg RUBY_VERSION=2.6 app
83
100
  docker-compose up -d
84
101
  ```
85
102
 
86
- The rails version can be customized at runtime through `RAILS_VERSION` environment variable:
103
+ The rails version can be customized at runtime through `RAILS_VERSION`
104
+ environment variable:
87
105
 
88
106
  ```bash
89
107
  RAILS_VERSION='~> 5.0' docker-compose up -d
@@ -131,13 +149,14 @@ testing purposes.
131
149
  This sandbox includes solidus\_auth\_devise and generates with seed and sample
132
150
  data already loaded.
133
151
 
134
- * Create the sandbox application
152
+ - Create the sandbox application
135
153
 
136
154
  ```bash
137
155
  bin/sandbox
138
156
  ```
139
157
 
140
- You can create a sandbox with PostgreSQL or MySQL by setting the DB environment variable.
158
+ You can create a sandbox with PostgreSQL or MySQL by setting the DB
159
+ environment variable.
141
160
 
142
161
  ```bash
143
162
  # PostgreSQL
@@ -149,9 +168,9 @@ data already loaded.
149
168
  bin/sandbox
150
169
  ```
151
170
 
152
- If you need to create a Rails 5.2 application for your sandbox, for example
153
- if you are still using Ruby 2.4 which is not supported by Rails 6, you can
154
- use the `RAILS_VERSION` environment variable.
171
+ If you need to create a Rails 5.2 application for your sandbox, for example if
172
+ you are still using Ruby 2.4 which is not supported by Rails 6, you can use
173
+ the `RAILS_VERSION` environment variable.
155
174
 
156
175
  ```bash
157
176
  export RAILS_VERSION='~> 5.2.0'
@@ -159,7 +178,7 @@ data already loaded.
159
178
  bin/sandbox
160
179
  ```
161
180
 
162
- * Start the server (`bin/rails` will forward any argument to the sandbox)
181
+ - Start the server (`bin/rails` will forward any argument to the sandbox)
163
182
 
164
183
  ```bash
165
184
  bin/rails server
@@ -167,8 +186,8 @@ data already loaded.
167
186
 
168
187
  ### Tests
169
188
 
170
- Solidus uses [RSpec](http://rspec.info) for tests. Refer to its documentation for
171
- more information about the testing library.
189
+ Solidus uses [RSpec](http://rspec.info) for tests. Refer to its documentation
190
+ for more information about the testing library.
172
191
 
173
192
  #### CircleCI
174
193
 
@@ -205,3 +224,8 @@ coverage report:
205
224
  COVERAGE=true bundle exec rspec
206
225
  ```
207
226
 
227
+ ### Releasing new versions
228
+
229
+ Please refer to the dedicated
230
+ [page](https://github.com/solidusio/solidus/wiki/How-to-release-extensions) on
231
+ Solidus wiki.
data/Rakefile CHANGED
@@ -2,12 +2,28 @@
2
2
 
3
3
  require 'spree/testing_support/dummy_app/rake_tasks'
4
4
  require 'solidus_dev_support/rake_tasks'
5
+ require 'bundler/gem_tasks'
5
6
 
6
7
  DummyApp::RakeTasks.new(
7
8
  gem_root: File.expand_path(__dir__),
8
9
  lib_name: 'solidus_frontend'
9
10
  )
10
11
 
12
+ require 'rake/clean'
13
+ CLOBBER.include('spec/dummy')
14
+
11
15
  SolidusDevSupport::RakeTasks.install
12
16
 
17
+ # The combined `db:drop db:create db:migrate` invocation used to set up the
18
+ # dummy database leaves SQLite with a stale connection to the dropped
19
+ # database file, so the migrated schema never reaches the file on disk.
20
+ # Re-running the migrations in a fresh process writes the real database.
21
+ task 'extension:test_app' do
22
+ if ENV['DB'].nil? || %w[sqlite sqlite3].include?(ENV['DB'])
23
+ cd 'spec/dummy' do
24
+ sh 'bin/rails db:migrate VERBOSE=false RAILS_ENV=test'
25
+ end
26
+ end
27
+ end
28
+
13
29
  task default: 'extension:specs'
@@ -5,6 +5,8 @@ module Spree
5
5
  include Spree::Core::ControllerHelpers::Pricing
6
6
  include Spree::Core::ControllerHelpers::Order
7
7
 
8
+ respond_to :html
9
+
8
10
  def unauthorized
9
11
  render 'spree/shared/unauthorized', layout: Spree::Config[:layout], status: 401
10
12
  end
data/bin/rspec ADDED
@@ -0,0 +1,27 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ #
5
+ # This file was generated by Bundler.
6
+ #
7
+ # The application 'rspec' is installed as part of a gem, and
8
+ # this file is here to facilitate running it.
9
+ #
10
+
11
+ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
12
+
13
+ bundle_binstub = File.expand_path("bundle", __dir__)
14
+
15
+ if File.file?(bundle_binstub)
16
+ if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
17
+ load(bundle_binstub)
18
+ else
19
+ abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
20
+ Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
21
+ end
22
+ end
23
+
24
+ require "rubygems"
25
+ require "bundler/setup"
26
+
27
+ load Gem.bin_path("rspec-core", "rspec")
@@ -5,9 +5,7 @@ module SolidusFrontend
5
5
  class InstallGenerator < Rails::Generators::Base
6
6
  source_root File.expand_path('templates', __dir__)
7
7
 
8
- class_option :auto_accept,
9
- type: :boolean,
10
- default: false
8
+ class_option :auto_accept, type: :boolean, default: false
11
9
 
12
10
  def self.exit_on_failure?
13
11
  true
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Spree
4
4
  module Frontend
5
- VERSION = "4.0.0.dev"
5
+ VERSION = "4.6.0"
6
6
 
7
7
  def self.version
8
8
  VERSION
@@ -7,13 +7,13 @@ Gem::Specification.new do |s|
7
7
  s.name = 'solidus_frontend'
8
8
  s.version = Spree::Frontend.version
9
9
 
10
- s.summary = <<~SUMMARY
11
- Legacy cart and storefront for the Solidus e-commerce project.
12
- For new Solidus apps, we recommend that you use
13
- [SolidusStarterFrontend](https://github.com/solidusio/solidus_starter_frontend)
14
- instead.
10
+ s.summary = <<~SUMMARY
11
+ Legacy storefront for the Solidus e-commerce platform. New Solidus
12
+ installations use Solidus Storefront:
13
+ https://github.com/solidusio/solidus/tree/main/storefront#readme
15
14
  SUMMARY
16
15
 
16
+
17
17
  s.description = s.summary
18
18
 
19
19
  s.author = 'Solidus Team'
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
24
24
  s.metadata['rubygems_mfa_required'] = 'true'
25
25
  s.metadata['homepage_uri'] = s.homepage
26
26
  s.metadata['source_code_uri'] = 'https://github.com/solidusio/solidus_frontend'
27
- s.metadata['changelog_uri'] = 'https://github.com/solidusio/solidus_frontend/blob/master/CHANGELOG.md'
27
+ s.metadata['changelog_uri'] = 'https://github.com/solidusio/solidus_frontend/releases'
28
28
 
29
29
  s.files = `git ls-files -z`.split("\x0").reject do |f|
30
30
  f.match(%r{^(spec|script)/})
@@ -47,6 +47,7 @@ Gem::Specification.new do |s|
47
47
  s.add_development_dependency 'capybara-accessible'
48
48
  s.add_development_dependency 'solidus_dev_support', '~> 2.5'
49
49
  s.add_development_dependency 'rspec-activemodel-mocks', '~> 1.1'
50
+ s.add_development_dependency 'rspec-retry'
50
51
  s.add_development_dependency 'rails-controller-testing'
51
52
  s.add_development_dependency 'generator_spec'
52
53
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_frontend
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.dev
4
+ version: 4.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2023-04-21 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: solidus_api
@@ -184,6 +183,20 @@ dependencies:
184
183
  - - "~>"
185
184
  - !ruby/object:Gem::Version
186
185
  version: '1.1'
186
+ - !ruby/object:Gem::Dependency
187
+ name: rspec-retry
188
+ requirement: !ruby/object:Gem::Requirement
189
+ requirements:
190
+ - - ">="
191
+ - !ruby/object:Gem::Version
192
+ version: '0'
193
+ type: :development
194
+ prerelease: false
195
+ version_requirements: !ruby/object:Gem::Requirement
196
+ requirements:
197
+ - - ">="
198
+ - !ruby/object:Gem::Version
199
+ version: '0'
187
200
  - !ruby/object:Gem::Dependency
188
201
  name: rails-controller-testing
189
202
  requirement: !ruby/object:Gem::Requirement
@@ -212,19 +225,18 @@ dependencies:
212
225
  - - ">="
213
226
  - !ruby/object:Gem::Version
214
227
  version: '0'
215
- description: Legacy cart and storefront for the Solidus e-commerce project. For new
216
- Solidus apps, we recommend that you use [SolidusStarterFrontend](https://github.com/solidusio/solidus_starter_frontend)
217
- instead.
228
+ description: 'Legacy storefront for the Solidus e-commerce platform. New Solidus installations
229
+ use Solidus Storefront: https://github.com/solidusio/solidus/tree/main/storefront#readme'
218
230
  email: contact@solidus.io
219
231
  executables: []
220
232
  extensions: []
221
233
  extra_rdoc_files: []
222
234
  files:
223
- - ".circleci/config.yml"
224
235
  - ".dockerdev/.psqlrc"
225
236
  - ".dockerdev/Dockerfile"
226
237
  - ".gem_release.yml"
227
238
  - ".github/stale.yml"
239
+ - ".github/workflows/test.yml"
228
240
  - ".github_changelog_generator"
229
241
  - ".gitignore"
230
242
  - ".rspec"
@@ -344,6 +356,7 @@ files:
344
356
  - bin/rails-engine
345
357
  - bin/rails-sandbox
346
358
  - bin/rake
359
+ - bin/rspec
347
360
  - bin/sandbox
348
361
  - bin/setup
349
362
  - config/initializers/assets.rb
@@ -373,8 +386,7 @@ metadata:
373
386
  rubygems_mfa_required: 'true'
374
387
  homepage_uri: http://solidus.io
375
388
  source_code_uri: https://github.com/solidusio/solidus_frontend
376
- changelog_uri: https://github.com/solidusio/solidus_frontend/blob/master/CHANGELOG.md
377
- post_install_message:
389
+ changelog_uri: https://github.com/solidusio/solidus_frontend/releases
378
390
  rdoc_options: []
379
391
  require_paths:
380
392
  - lib
@@ -389,10 +401,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
389
401
  - !ruby/object:Gem::Version
390
402
  version: 1.8.23
391
403
  requirements: []
392
- rubygems_version: 3.4.6
393
- signing_key:
404
+ rubygems_version: 4.0.10
394
405
  specification_version: 4
395
- summary: Legacy cart and storefront for the Solidus e-commerce project. For new Solidus
396
- apps, we recommend that you use [SolidusStarterFrontend](https://github.com/solidusio/solidus_starter_frontend)
397
- instead.
406
+ summary: 'Legacy storefront for the Solidus e-commerce platform. New Solidus installations
407
+ use Solidus Storefront: https://github.com/solidusio/solidus/tree/main/storefront#readme'
398
408
  test_files: []
data/.circleci/config.yml DELETED
@@ -1,61 +0,0 @@
1
- version: 2.1
2
-
3
- orbs:
4
- browser-tools: circleci/browser-tools@1.3
5
-
6
- # Always take the latest version of the orb, this allows us to
7
- # run specs against Solidus supported versions only without the need
8
- # to change this configuration every time a Solidus version is released
9
- # or goes EOL.
10
- solidusio_extensions: solidusio/extensions@volatile
11
-
12
- commands:
13
- libvips:
14
- steps:
15
- - run:
16
- name: Install libvips
17
- command: |
18
- sudo apt-get update
19
- sudo apt-get install -yq libvips-dev
20
-
21
- jobs:
22
- run-specs-with-postgres:
23
- executor: solidusio_extensions/postgres
24
- steps:
25
- - checkout
26
- - browser-tools/install-chrome
27
- - browser-tools/install-chromedriver
28
- - libvips
29
- - solidusio_extensions/run-tests-solidus-master
30
- - solidusio_extensions/store-test-results
31
- run-specs-with-mysql:
32
- executor: solidusio_extensions/mysql
33
- steps:
34
- - checkout
35
- - browser-tools/install-chrome
36
- - browser-tools/install-chromedriver
37
- - libvips
38
- - solidusio_extensions/run-tests-solidus-master
39
- - solidusio_extensions/store-test-results
40
- lint-code:
41
- executor: solidusio_extensions/sqlite-memory
42
- steps:
43
- - solidusio_extensions/lint-code
44
-
45
- workflows:
46
- "Run specs on supported Solidus versions":
47
- jobs:
48
- - run-specs-with-postgres
49
- - run-specs-with-mysql
50
-
51
- "Weekly run specs against master":
52
- triggers:
53
- - schedule:
54
- cron: "0 0 * * 4" # every Thursday
55
- filters:
56
- branches:
57
- only:
58
- - master
59
- jobs:
60
- - run-specs-with-postgres
61
- - run-specs-with-mysql