There was an error while loading. Please reload this page.
1 parent 2edbead commit e4b4443Copy full SHA for e4b4443
1 file changed
.github/workflows/testing.yml
@@ -0,0 +1,36 @@
1
+name: Testing
2
+on: [push, pull_request]
3
+jobs:
4
+ rubocop:
5
+ name: Rubocop
6
+ runs-on: ubuntu-latest
7
+ steps:
8
+ - uses: actions/checkout@v4
9
+ - name: Setup Ruby
10
+ uses: ruby/setup-ruby@v1
11
+ with:
12
+ ruby-version: "3.3"
13
+ bundler-cache: true
14
+ - name: Run Rubocop
15
+ run: bundle exec standardrb
16
+
17
+ tests:
18
+ name: Tests (Ruby ${{ matrix.ruby }})
19
20
+ strategy:
21
+ fail-fast: false
22
+ matrix:
23
+ ruby:
24
+ - "3.1"
25
+ - "3.2"
26
+ - "3.3"
27
+ - "3.4"
28
29
30
+ - name: Setup Ruby ${{ matrix.ruby }}
31
32
33
+ ruby-version: ${{ matrix.ruby }}
34
35
+ - name: Run tests
36
+ run: bundle exec rake test
0 commit comments