-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #67 from cpfergus1/cpfergus1/solidus-4-prep
Prep for Solidus 4+
- Loading branch information
Showing
26 changed files
with
338 additions
and
241 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,35 +1,73 @@ | ||
version: 2.1 | ||
|
||
orbs: | ||
# Required for feature specs. | ||
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 | ||
|
||
jobs: | ||
run-specs-with-postgres: | ||
executor: solidusio_extensions/postgres | ||
run-specs: | ||
parameters: | ||
solidus: | ||
type: string | ||
default: main | ||
db: | ||
type: string | ||
default: "postgres" | ||
ruby: | ||
type: string | ||
default: "3.2" | ||
executor: | ||
name: solidusio_extensions/<< parameters.db >> | ||
ruby_version: << parameters.ruby >> | ||
steps: | ||
- solidusio_extensions/run-tests | ||
run-specs-with-mysql: | ||
executor: solidusio_extensions/mysql | ||
- checkout | ||
- browser-tools/install-chrome | ||
- solidusio_extensions/run-tests-solidus-<< parameters.solidus >> | ||
|
||
lint-code: | ||
executor: | ||
name: solidusio_extensions/sqlite | ||
ruby_version: "3.0" | ||
steps: | ||
- solidusio_extensions/run-tests | ||
- solidusio_extensions/lint-code | ||
|
||
workflows: | ||
"Run specs on supported Solidus versions": | ||
jobs: | ||
- run-specs-with-postgres | ||
- run-specs-with-mysql | ||
"Weekly run specs against master": | ||
- run-specs: | ||
name: &name "run-specs-solidus-<< matrix.solidus >>-ruby-<< matrix.ruby >>-db-<< matrix.db >>" | ||
matrix: | ||
parameters: { solidus: ["main"], ruby: ["3.2"], db: ["postgres"] } | ||
- run-specs: | ||
name: *name | ||
matrix: | ||
parameters: { solidus: ["current"], ruby: ["3.1"], db: ["mysql"] } | ||
- run-specs: | ||
name: *name | ||
matrix: | ||
parameters: { solidus: ["older"], ruby: ["3.0"], db: ["sqlite"] } | ||
- lint-code | ||
|
||
"Weekly run specs against main": | ||
triggers: | ||
- schedule: | ||
cron: "0 0 * * 4" # every Thursday | ||
filters: | ||
branches: | ||
only: | ||
- master | ||
- main | ||
jobs: | ||
- run-specs-with-postgres | ||
- run-specs-with-mysql | ||
- run-specs: | ||
name: *name | ||
matrix: | ||
parameters: { solidus: ["main"], ruby: ["3.2"], db: ["postgres"] } | ||
- run-specs: | ||
name: *name | ||
matrix: | ||
parameters: { solidus: ["current"], ruby: ["3.1"], db: ["mysql"] } |
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,17 +1 @@ | ||
# Number of days of inactivity before an issue becomes stale | ||
daysUntilStale: 60 | ||
# Number of days of inactivity before a stale issue is closed | ||
daysUntilClose: 7 | ||
# Issues with these labels will never be considered stale | ||
exemptLabels: | ||
- pinned | ||
- security | ||
# Label to use when marking an issue as stale | ||
staleLabel: wontfix | ||
# Comment to post when marking an issue as stale. Set to `false` to disable | ||
markComment: > | ||
This issue has been automatically marked as stale because it has not had | ||
recent activity. It will be closed if no further activity occurs. Thank you | ||
for your contributions. | ||
# Comment to post when closing a stale issue. Set to `false` to disable | ||
closeComment: false | ||
_extends: .github |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
issues=false | ||
exclude-labels=infrastructure |
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
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,3 +1,2 @@ | ||
--color | ||
--format documentation | ||
--require spec_helper |
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,4 +1,7 @@ | ||
inherit_from: .rubocop_todo.yml | ||
|
||
require: | ||
- solidus_dev_support/rubocop | ||
|
||
inherit_from: .rubocop_todo.yml | ||
AllCops: | ||
NewCops: disable |
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
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
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
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
Oops, something went wrong.