File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111permissions :
1212 contents : read
1313
14+ env :
15+ CI : true
16+
1417jobs :
1518 rubocop_checks :
1619 runs-on : ubuntu-24.04
@@ -27,10 +30,58 @@ jobs:
2730 - run : bundle exec rake rubocop
2831 - run : gem build --strict --verbose *.gemspec
2932
33+ linux_unit_tests :
34+ needs :
35+ - rubocop_checks
36+ name : Ruby version
37+ strategy :
38+ fail-fast : false
39+ matrix :
40+ ruby :
41+ - ' 2.7'
42+ - ' 3.0'
43+ - ' 3.2'
44+ - ' 3.3'
45+ - ' 3.4'
46+ - ' 4.0'
47+ - ' jruby-9.4.8.0'
48+ runs-on : ubuntu-24.04
49+ steps :
50+ - name : Checkout current PR
51+ uses : actions/checkout@v4
52+
53+ - name : Rspec checks
54+ uses : ruby/setup-ruby@v1
55+ with :
56+ ruby-version : ${{ matrix.ruby }}
57+ bundler-cache : true
58+ - run : bundle exec rake spec_random
59+
60+ windows_unit_tests :
61+ name : Windows tests with Ruby ${{ matrix.ruby }}
62+ strategy :
63+ matrix :
64+ ruby :
65+ - ' 2.7'
66+ - ' 3.2'
67+ runs-on : windows-2025
68+ steps :
69+ - name : Checkout current PR
70+ uses : actions/checkout@v4
71+
72+ - name : Rspec checks
73+ uses : ruby/setup-ruby@v1
74+ with :
75+ ruby-version : ${{ matrix.ruby }}
76+ bundler-cache : true
77+ - run : bundle exec rake spec_random
78+
3079 tests :
3180 if : always()
3281 needs :
3382 - rubocop_checks
83+ - linux_unit_tests
84+ - windows_unit_tests
3485 runs-on : ubuntu-24.04
3586 name : Test suite
3687 steps :
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments