Skip to content

Commit

Permalink
Add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fatkodima committed Jul 10, 2024
1 parent 873d112 commit ea06b53
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Test
on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- gemfile: activerecord_70.gemfile
- gemfile: activerecord_72.gemfile
- gemfile: activerecord_head.gemfile
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
bundler-cache: true
- name: Run the test suite
run: bundle exec rake
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ GEM
sqlite3 (1.7.3)
mini_portile2 (~> 2.8.0)
sqlite3 (1.7.3-x86_64-darwin)
sqlite3 (1.7.3-x86_64-linux)
strscan (3.1.0)
timeout (0.4.1)
tzinfo (2.0.6)
Expand All @@ -75,6 +76,7 @@ GEM
PLATFORMS
ruby
x86_64-darwin-21
x86_64-linux

DEPENDENCIES
active_record_tracer!
Expand Down

0 comments on commit ea06b53

Please sign in to comment.