We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df730af commit 8bf0386Copy full SHA for 8bf0386
1 file changed
.github/workflows/test.yml
@@ -0,0 +1,35 @@
1
+name: Test
2
+
3
+on:
4
+ push:
5
+ branches: [ main, master ]
6
+ pull_request:
7
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
13
+ strategy:
14
+ matrix:
15
+ ruby-version: ['3.2', '3.3', '3.4']
16
+ rails-version: ['7.2', '8.0', '8.1']
17
18
+ steps:
19
+ - uses: actions/checkout@v4
20
21
+ - name: Set up Ruby ${{ matrix.ruby-version }}
22
+ uses: ruby/setup-ruby@v1
23
+ with:
24
+ ruby-version: ${{ matrix.ruby-version }}
25
+ bundler-cache: true
26
+ env:
27
+ BUNDLE_GEMFILE: ${{ github.workspace }}/Gemfile
28
29
+ - name: Install dependencies
30
+ run: |
31
+ gem install bundler
32
+ bundle install --jobs 4 --retry 3
33
34
+ - name: Run tests
35
+ run: bundle exec rspec
0 commit comments