File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Test
2
+ on :
3
+ push :
4
+ branches : [master]
5
+ pull_request :
6
+ branches : [master]
7
+ workflow_dispatch :
8
+ schedule :
9
+ - cron : 13 7 * * 6
10
+ jobs :
11
+ test :
12
+ runs-on : ubuntu-latest
13
+ strategy :
14
+ fail-fast : false
15
+ matrix :
16
+ ruby_version :
17
+ - 3.3.8
18
+ - 3.4.3
19
+ experimental : [false]
20
+ include :
21
+ - ruby_version : head
22
+ experimental : true
23
+ name : Ruby ${{ matrix.crystal_version }}
24
+ continue-on-error : ${{ matrix.experimental }}
25
+ steps :
26
+ - name : " [Git] Checkout code"
27
+ uses : actions/checkout@v4
28
+
29
+ - uses : ruby/setup-ruby@v1
30
+ with :
31
+ ruby-version : ${{ matrix.ruby_version }}
32
+ bundler-cache : true
33
+
34
+ - name : " [Test] Run tests"
35
+ run : rake test
36
+
37
+ - name : " [Test] Smoke tests"
38
+ run : |
39
+ for example in examples/**/*.rb; do
40
+ echo " > Processing $example..."
41
+ bundle exec ruby $example
42
+ done
You can’t perform that action at this time.
0 commit comments