Skip to content

Commit

Permalink
CI: Skip install_solidus check on non-current version
Browse files Browse the repository at this point in the history
The installer always uses the current released minor version
(4.2 time writing this), but the check runs on all pipeline
runs, wasting CI time and precious resources. Also it fails
anyway, because of conflicting dependencies.

So, we only run the check on main and latest minor now.
  • Loading branch information
tvdeyen committed Nov 1, 2023
1 parent 39b1c92 commit 7780358
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,11 @@ commands:
type: string
default: "# no options"
description: "flags to be passed to `bin/rails g solidus:install"
when:
condition:
or:
- equal: [main, << pipeline.git.branch >>]
- equal: [v4.2, << pipeline.git.branch >>]
steps:
- run:
name: "Cleanup & check rails version"
Expand Down

0 comments on commit 7780358

Please sign in to comment.