We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebe5855 commit 8b439f7Copy full SHA for 8b439f7
1 file changed
.github/workflows/test.yml
@@ -0,0 +1,32 @@
1
+name: Tests
2
+on:
3
+ pull_request:
4
+ push:
5
+ branches:
6
+ - master
7
+permissions:
8
+ contents: read
9
+
10
+jobs:
11
+ test:
12
+ runs-on: ubuntu-18.04
13
+ strategy:
14
+ matrix:
15
+ ruby_version: ['3.1', '3.0', '2.7']
16
+ rails_version: ['6.0.x', '6.1.x', '7.0.x', 'edge']
17
+ name: Ruby ${{ matrix.ruby_version }} on Rails ${{ matrix.rails_version }}
18
+ env:
19
+ BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/Gemfile-rails.${{ matrix.rails_version }}
20
+ steps:
21
+ - name: Install graphviz
22
+ run: |
23
+ sudo apt-get update -qq
24
+ sudo apt-get install -qq graphviz
25
+ - uses: actions/checkout@v3
26
+ - uses: ruby/setup-ruby@v1
27
+ with:
28
+ ruby-version: ${{ matrix.ruby_version }}
29
+ bundler-cache: true
30
+ - name: Run tests
31
32
+ bundle exec rake test
0 commit comments