-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
22 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,42 @@ | ||
version: 2.1 | ||
|
||
version: '2.1' | ||
orbs: | ||
# Required for feature specs. | ||
browser-tools: circleci/[email protected] | ||
|
||
# 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-sqlite: | ||
executor: solidusio_extensions/sqlite | ||
run-specs-with-mysql: | ||
executor: | ||
name: solidusio_extensions/mysql | ||
ruby_version: '3.1' | ||
steps: | ||
- browser-tools/install-chrome | ||
- browser-tools/install-browser-tools | ||
- solidusio_extensions/run-tests | ||
run-specs-with-postgres: | ||
executor: solidusio_extensions/postgres | ||
executor: | ||
name: solidusio_extensions/postgres | ||
ruby_version: '3.2' | ||
steps: | ||
- browser-tools/install-chrome | ||
- browser-tools/install-browser-tools | ||
- solidusio_extensions/run-tests | ||
run-specs-with-mysql: | ||
executor: solidusio_extensions/mysql | ||
run-specs-with-sqlite: | ||
executor: | ||
name: solidusio_extensions/sqlite | ||
ruby_version: '3.0' | ||
steps: | ||
- browser-tools/install-chrome | ||
- browser-tools/install-browser-tools | ||
- solidusio_extensions/run-tests | ||
lint-code: | ||
executor: solidusio_extensions/sqlite-memory | ||
steps: | ||
- solidusio_extensions/lint-code | ||
|
||
workflows: | ||
"Run specs on supported Solidus versions": | ||
Run specs on supported Solidus versions: | ||
jobs: | ||
- run-specs-with-sqlite | ||
- run-specs-with-postgres | ||
- run-specs-with-mysql | ||
- lint-code | ||
|
||
"Weekly run specs against master": | ||
- run-specs-with-sqlite | ||
Weekly run specs against master: | ||
jobs: | ||
- run-specs-with-sqlite | ||
triggers: | ||
- schedule: | ||
cron: "0 0 * * 4" # every Thursday | ||
cron: 0 0 * * 4 | ||
filters: | ||
branches: | ||
only: | ||
- master | ||
jobs: | ||
- run-specs-with-sqlite | ||
- run-specs-with-postgres | ||
- run-specs-with-mysql | ||
- master |