We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d519b3a commit 0f2dadfCopy full SHA for 0f2dadf
1 file changed
.github/workflows/test.yaml
@@ -0,0 +1,34 @@
1
+name: Test
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
8
+ workflow_dispatch: # for manual runs
9
+ schedule:
10
+ - cron: '5 18 * * 1' # for scheduled runs
11
12
+jobs:
13
+ test:
14
+ runs-on: ubuntu-latest
15
+ timeout-minutes: 2
16
+ strategy:
17
+ matrix:
18
+ ruby-version: ['3.2', '3.3', '3.4']
19
20
+ steps:
21
+ - uses: actions/checkout@v4
22
+ - name: Set up Ruby ${{ matrix.ruby-version }}
23
+ # https://github.com/ruby/setup-ruby/blob/master/action.yml
24
+ uses: ruby/setup-ruby@v1
25
+ with:
26
+ ruby-version: ${{ matrix.ruby-version }}
27
+ bundler: default
28
+ bundler-cache: true
29
+ cache-version: 0 # cache buster if necessary
30
31
+ - name: Run tests
32
+ env:
33
+ RACK_ENV: test
34
+ run: bundle exec rake test
0 commit comments