Skip to content

Commit

Permalink
Update CircleCI config to Latest
Browse files Browse the repository at this point in the history
  • Loading branch information
cpfergus1 committed May 5, 2023
1 parent 06a0dba commit e9e47ce
Showing 1 changed file with 22 additions and 33 deletions.
55 changes: 22 additions & 33 deletions .circleci/config.yml
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

0 comments on commit e9e47ce

Please sign in to comment.