Skip to content

Commit

Permalink
Merge pull request #219 from mamhoff/bump-matrix
Browse files Browse the repository at this point in the history
Extend test matrix
  • Loading branch information
tvdeyen authored Jan 15, 2025
2 parents f1da62c + a4c50cd commit d10c27b
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/brakeman-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
jobs:
brakeman-scan:
name: Brakeman Scan
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
# Checkout the repository to the GitHub Actions runner
- name: Checkout
Expand Down
23 changes: 18 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,38 @@ on: [push, pull_request]

jobs:
RSpec:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
alchemy_branch:
- "7.0-stable"
- "7.1-stable"
- "7.2-stable"
- "7.3-stable"
- "7.4-stable"
ruby:
- "3.1"
- "3.2"
- "3.3"
- "3.4"
rails:
- "7.0"
- "7.1"
- "7.2"
database:
- mysql
- postgresql
- sqlite
exclude:
- alchemy_branch: "7.1-stable"
rails: "7.2"
- alchemy_branch: "7.2-stable"
rails: "7.2"
- alchemy_branch: "7.1-stable"
ruby: "3.4"
- alchemy_branch: "7.2-stable"
ruby: "3.4"
- rails: "7.1"
ruby: "3.4"

env:
DB: ${{ matrix.database }}
DB_USER: alchemy_user
Expand Down Expand Up @@ -93,7 +106,7 @@ jobs:
path: spec/dummy/tmp/screenshots

Lint:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
env:
ALCHEMY_BRANCH: 7.3-stable
steps:
Expand Down
2 changes: 1 addition & 1 deletion alchemy-devise.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Gem::Specification.new do |s|

s.files = Dir["{app,config,db,lib}/**/*", "LICENSE", "CHANGELOG.md", "README.md"]

s.add_dependency "alchemy_cms", [">= 7.0", "<= 8.1"]
s.add_dependency "alchemy_cms", ["~> 7.0"]
s.add_dependency "devise", ["~> 4.9"]

s.add_development_dependency "capybara"
Expand Down
2 changes: 0 additions & 2 deletions spec/rails_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
Capybara.ignore_hidden_elements = false
ActiveJob::Base.queue_adapter = :test

ActiveSupport::Deprecation.silenced = true

RSpec.configure do |config|
config.infer_spec_type_from_file_location!
config.use_transactional_fixtures = true
Expand Down

0 comments on commit d10c27b

Please sign in to comment.