Skip to content

Commit

Permalink
CI: Regularly test with Rails' main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
bquorning committed Jun 10, 2024
1 parent 4f9da8e commit b184fbe
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
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"

0 comments on commit b184fbe

Please sign in to comment.