We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9a606b commit 0a1fd2cCopy full SHA for 0a1fd2c
.github/workflows/rspec.yml
@@ -0,0 +1,21 @@
1
+name: Run RSpec tests
2
+on: [push, pull_request]
3
+jobs:
4
+ run-rspec-tests:
5
+ strategy:
6
+ matrix:
7
+ version: ['7.0', '6.0']
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v4
11
+ - name: Set up Ruby
12
+ uses: ruby/setup-ruby@v1
13
+ with:
14
+ ruby-version: '3.2'
15
+ bundler-cache: true # Runs 'bundle install' and caches installed gems automatically
16
+ - name: Remove the default activerecord Gem
17
+ run: bundle remove activerecord
18
+ - name: Add a specific version of the activerecord Gem
19
+ run: bundle add activerecord --version "~> ${{ matrix.version }}" --group "development,test"
20
+ - name: Run tests
21
+ run: ./run_tests.sh
0 commit comments