@@ -14,19 +14,32 @@ jobs:
1414 runs-on : ${{ matrix.os_and_command.os }}
1515 strategy :
1616 matrix :
17- ruby : [ '2.5', '2.6', '2.7', '3.0', '3.1', 'ruby-head', 'truffleruby-head' ]
17+ ruby : [ '2.5', '2.6', '2.7', '3.0', '3.1', 'ruby-head' ]
18+ # The k0s script does more testing but needs docker, only works on ubuntu.
1819 os_and_command :
19- - os : ' macos-latest'
20+ - os : macos-latest
21+ command : ' env TESTOPTS="--verbose" bundle exec rake test'
22+ - os : windows-latest
2023 command : ' env TESTOPTS="--verbose" bundle exec rake test'
2124 - os : ubuntu-latest
2225 # Sometimes minitest starts and then just hangs printing nothing.
2326 # Github by default kills after 6hours(!). Hopefully SIGTERM may let it print some details?
2427 command : ' timeout --signal=TERM 3m env TESTOPTS="--verbose" test/config/update_certs_k0s.rb'
2528 include :
26- # run rubocop against lowest supported ruby
27- - os : ubuntu-latest
28- ruby : ' 2.5'
29- command : ' bundle exec rake rubocop'
29+ # As of 2022 Aug, truffleruby-dev-builder had no build for windows.
30+ - ruby : ' truffleruby-head'
31+ os_and_command :
32+ - os : macos-latest
33+ command : ' env TESTOPTS="--verbose" bundle exec rake test'
34+ - ruby : ' truffleruby-head'
35+ os_and_command :
36+ os : ubuntu-latest
37+ command : ' timeout --signal=TERM 3m env TESTOPTS="--verbose" test/config/update_certs_k0s.rb'
38+ # Run rubocop in 1 job only, against lowest supported ruby.
39+ - ruby : ' 2.5'
40+ os_and_command :
41+ - os : ubuntu-latest
42+ command : ' bundle exec rake rubocop'
3043 name : ${{ matrix.os_and_command.os }} ${{ matrix.ruby }} rake ${{ matrix.os_and_command.command }}
3144 steps :
3245 - uses : actions/checkout@v2
0 commit comments