Skip to content

Commit

Permalink
Merge pull request #95 from AlchemyCMS/alchemy-7.4
Browse files Browse the repository at this point in the history
Test Alchemy 7.4
  • Loading branch information
tvdeyen authored Jan 24, 2025
2 parents 44f13c2 + 816b2db commit 732d33e
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
RSpec:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand All @@ -17,10 +17,21 @@ jobs:
- 7.1-stable
- 7.2-stable
- 7.3-stable
- 7.4-stable
ruby:
- "3.1"
- "3.2"
- "3.3"
- "3.4"
exclude:
- alchemy_branch: 7.0-stable
ruby: "3.4"
- alchemy_branch: 7.1-stable
ruby: "3.4"
- alchemy_branch: 7.2-stable
ruby: "3.4"
- alchemy_branch: 7.3-stable
ruby: "3.4"
env:
ALCHEMY_BRANCH: ${{ matrix.alchemy_branch }}
steps:
Expand All @@ -47,10 +58,9 @@ jobs:
RAILS_ENV: test
DB_USER: user
DB_PASSWORD: password
DB_PORT: ${{ job.services.mariadb.ports[3306] }}
run: bundle exec rake
Jest:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
NODE_ENV: test
steps:
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ gemspec
# gem 'byebug', group: [:development, :test]
gem "sqlite3", "~> 2.2"

alchemy_branch = ENV.fetch("ALCHEMY_BRANCH", "7.3-stable")
alchemy_branch = ENV.fetch("ALCHEMY_BRANCH", "7.4-stable")
gem "alchemy_cms", github: "AlchemyCMS/alchemy_cms", branch: alchemy_branch
gem "alchemy-devise", github: "AlchemyCMS/alchemy-devise", branch: "main"

Expand Down
3 changes: 3 additions & 0 deletions spec/dummy/app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# frozen_string_literal: true
class ApplicationController < ActionController::Base
# Necessary for authorize_user stub in controller specs
def current_user
end
end

0 comments on commit 732d33e

Please sign in to comment.