diff --git a/.github/workflows/lint-unit.yml b/.github/workflows/lint-unit.yml index 9ac44b6eb..66bf3f77c 100644 --- a/.github/workflows/lint-unit.yml +++ b/.github/workflows/lint-unit.yml @@ -83,6 +83,11 @@ jobs: run: | bundle exec rspec --format documentation + - name: Run core tests with sqlite + run: | + sed -i 's/adapter: mysql2/adapter: sqlite3/' config/rmt.yml + bundle exec rspec --format documentation + - name: Run PubCloud engines tests run: | bundle exec rake test:engines diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index f5b47b1e6..9c8bffe57 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -62,7 +62,7 @@ # Skipping some tests when running with (experimental) sqlite backend. # Some tests / code parts are using specific mysql behavior if ActiveRecord::Base.connection.adapter_name == 'SQLite' - config.filter_run_excluding :skip_sqlite => true + config.filter_run_excluding skip_sqlite: true end end