Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 35 additions & 18 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
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
Expand All @@ -10,31 +9,48 @@ orbs:
# or goes EOL.
solidusio_extensions: solidusio/extensions@volatile

executors:
sqlite:
description: Run specs with an SQLite
docker:
- image: cimg/ruby:2.7-browsers
environment:
RAILS_ENV: test
DB: sqlite
commands:
test-with-starter-frontend:
steps:
- checkout
- browser-tools/install-chrome
- run:
name: Install libvips
command: |
sudo apt-get update
sudo apt-get install -yq libvips-dev
- solidusio_extensions/test-branch:
branch: master
command: |
export FRONTEND=starter
sudo gem update --system
gem install bundler
bin/dummy-app
bin/rspec
- solidusio_extensions/store-test-results

jobs:
run-specs-with-postgres:
executor: solidusio_extensions/postgres
executor:
name: solidusio_extensions/postgres
ruby_version: '3.1'
steps:
- browser-tools/install-chrome
- solidusio_extensions/run-tests
- test-with-starter-frontend

run-specs-with-mysql:
executor: solidusio_extensions/mysql
executor:
name: solidusio_extensions/mysql
ruby_version: '3.0'
steps:
- browser-tools/install-chrome
- solidusio_extensions/run-tests
- test-with-starter-frontend

run-specs-with-sqlite:
executor: sqlite
executor:
name: solidusio_extensions/sqlite
ruby_version: '2.7'
steps:
- browser-tools/install-chrome
- solidusio_extensions/run-tests
- test-with-starter-frontend

lint-code:
executor: solidusio_extensions/sqlite-memory
steps:
Expand All @@ -59,3 +75,4 @@ workflows:
jobs:
- run-specs-with-postgres
- run-specs-with-mysql
- run-specs-with-sqlite
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ pkg
spec/dummy
spec/examples.txt
/sandbox
/dummy-app
.rvmrc
.ruby-version
.ruby-gemset
8 changes: 6 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
inherit_from: .rubocop_todo.yml

require:
- solidus_dev_support/rubocop

AllCops:
NewCops: disable
TargetRubyVersion: '2.7'
Exclude:
- sandbox/**/*
- dummy-app/**/*
- spec/dummy/**/*
- vendor/bundle/**/*
298 changes: 0 additions & 298 deletions .rubocop_todo.yml

This file was deleted.

Loading