Skip to content

Commit

Permalink
[tmp commit] disable parts of CI and add npm install
Browse files Browse the repository at this point in the history
This commit adds npm install and disable part of the CI that I don’t want to test while fixing, not necessary while fixing CI and saves CI costs.
  • Loading branch information
loicginoux committed Apr 12, 2024
1 parent d134781 commit 220a0d4
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ version: 2.1
orbs:
browser-tools: circleci/[email protected]
codecov: codecov/[email protected]

executors:
base:
parameters: &parameters
Expand Down Expand Up @@ -237,6 +236,7 @@ jobs:
BUNDLE_ONLY: "lint"
steps:
- checkout
- run: 'npm install'
- run: 'bundle install'
- run:
name: Check Ruby
Expand Down Expand Up @@ -362,20 +362,20 @@ workflows:
build:
jobs:
- lint_code
- solidus_installer
- test_solidus_with_coverage # Only test with coverage support with the default versions
# - solidus_installer
# - test_solidus_with_coverage # Only test with coverage support with the default versions

# Based on supported versions for the current Solidus release and recommended versions from
# https://www.fastruby.io/blog/ruby/rails/versions/compatibility-table.html.
- test_solidus:
name: &name "test-rails-<<matrix.rails>>-ruby-<<matrix.ruby>>-<<matrix.database>>-<<#matrix.paperclip>>paperclip<</matrix.paperclip>><<^matrix.paperclip>>activestorage<</matrix.paperclip>>"
matrix: { parameters: { rails: ['7.0', '7.1'], ruby: ['3.0'], database: ['mysql'], paperclip: [true] } }
- test_solidus:
name: *name
matrix: { parameters: { rails: ['7.0', '7.1'], ruby: ['3.1'], database: ['postgres'], paperclip: [false] } }
- test_solidus:
name: *name
matrix: { parameters: { rails: ['7.0'], ruby: ['3.2'], database: ['sqlite'], paperclip: [false] } }
- test_solidus:
name: *name
matrix: { parameters: { rails: ['7.1', 'main'], ruby: ['3.3'], database: ['sqlite'], paperclip: [false] } }
# # Based on supported versions for the current Solidus release and recommended versions from
# # https://www.fastruby.io/blog/ruby/rails/versions/compatibility-table.html.
# - test_solidus:
# name: &name "test-rails-<<matrix.rails>>-ruby-<<matrix.ruby>>-<<matrix.database>>-<<#matrix.paperclip>>paperclip<</matrix.paperclip>><<^matrix.paperclip>>activestorage<</matrix.paperclip>>"
# matrix: { parameters: { rails: ['7.0', '7.1'], ruby: ['3.0'], database: ['mysql'], paperclip: [true] } }
# - test_solidus:
# name: *name
# matrix: { parameters: { rails: ['7.0', '7.1'], ruby: ['3.1'], database: ['postgres'], paperclip: [false] } }
# - test_solidus:
# name: *name
# matrix: { parameters: { rails: ['7.0'], ruby: ['3.2'], database: ['sqlite'], paperclip: [false] } }
# - test_solidus:
# name: *name
# matrix: { parameters: { rails: ['7.1', 'main'], ruby: ['3.3'], database: ['sqlite'], paperclip: [false] } }

0 comments on commit 220a0d4

Please sign in to comment.