Skip to content

Commit

Permalink
Merge pull request #73 from k2nr/test-rails-main
Browse files Browse the repository at this point in the history
CI: Regularly test with Rails' main branch
  • Loading branch information
bquorning authored Jun 10, 2024
2 parents 94d1e33 + b184fbe commit 6c43b21
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 2 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/rails-main-branch-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: Tests on the "main" branch of Rails

on:
schedule:
- cron: '15 8 * * MON'
workflow_dispatch:

jobs:
test:
name: ActiveRecord main / Ruby 3.3
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: docker-compose run test
env:
RUBY_VERSION: "3.3"
AR_VERSION: "main"
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
include:
- {activerecord-version: "5.2", ruby-version: "2.7"}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: docker-compose run test
env:
RUBY_VERSION: ${{ matrix.ruby-version }}
Expand Down
11 changes: 11 additions & 0 deletions gemfiles/main.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
source "https://rubygems.org"

gemspec path: ".."

gem "activesupport", github: "rails/rails"
gem "activemodel", github: "rails/rails"
gem "activerecord", github: "rails/rails"
gem "sqlite3", ">= 1.4"
gem "mysql2", "~> 0.5"
gem "pg", "~> 1.1"
gem "trilogy", "~> 2.7"
2 changes: 1 addition & 1 deletion ulid-rails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "rake"
spec.add_development_dependency "minitest", "~> 5.0"
spec.add_development_dependency "rubocop-minitest", "0.34.5"
spec.add_development_dependency "standard", "~> 1.34.0"
spec.add_development_dependency "standard", ">= 1.35.1"
end

0 comments on commit 6c43b21

Please sign in to comment.