@@ -12,9 +12,63 @@ concurrency:
1212 cancel-in-progress : true
1313
1414jobs :
15+ main :
16+ name : Ruby ${{ matrix.ruby }}
17+ runs-on : ubuntu-latest
18+ env :
19+ # See https://github.com/tmm1/test-queue#environment-variables
20+ TEST_QUEUE_WORKERS : 2
21+ strategy :
22+ fail-fast : false
23+ matrix :
24+ os : [ubuntu]
25+ ruby : ['2.7', '3.0', '3.1', '3.2', 'head']
26+
27+ steps :
28+ - name : checkout
29+ uses : actions/checkout@v4
30+ - name : set up Ruby
31+ uses : ruby/setup-ruby@v1
32+ with :
33+ ruby-version : ${{ matrix.ruby }}
34+ bundler-cache : true
35+ - name : test
36+ run : bundle exec rake test
37+ - name : internal_investigation
38+ run : bundle exec rake internal_investigation
39+
40+ jruby :
41+ name : JRuby 9.4
42+ runs-on : ubuntu-latest
43+ steps :
44+ - name : checkout
45+ uses : actions/checkout@v4
46+ - name : set up Ruby
47+ uses : ruby/setup-ruby@v1
48+ with :
49+ ruby-version : jruby-9.4
50+ bundler-cache : true
51+ - name : test
52+ run : bundle exec rake test
53+ - name : internal_investigation
54+ run : bundle exec rake internal_investigation
55+
56+ documentation_checks :
57+ runs-on : ubuntu-latest
58+ name : Check documentation syntax
59+ steps :
60+ - uses : actions/checkout@v4
61+ - name : set up Ruby
62+ uses : ruby/setup-ruby@v1
63+ with :
64+ ruby-version : 3.2
65+ bundler-cache : true
66+ - name : test
67+ run : bundle exec rake documentation_syntax_check
68+
1569 oldest_supported_rubocop :
1670 runs-on : ubuntu-latest
17- name : The oldest supported RuboCop version
71+ name : Check the oldest supported RuboCop version
1872 steps :
1973 - uses : actions/checkout@v4
2074 - name : Use the oldest supported RuboCop
2983 ruby-version : 2.7
3084 bundler-cache : true
3185 - name : test
32- run : bundle exec rake
86+ run : bundle exec rake test
0 commit comments