Skip to content

Commit 50f2d57

Browse files
committed
CI: run on windows
Don't know if it works, let's try :-) 'windows-latest` currently means Windows Server 2022 (https://github.blog/changelog/2022-01-11-github-actions-jobs-running-on-windows-latest-are-now-running-on-windows-server-2022/)
1 parent 628bc9f commit 50f2d57

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/actions.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,24 @@ 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
29+
# As of 2022 Aug, truffleruby-dev-builder had no build for windows.
30+
- os: macos-latest
31+
ruby: 'truffleruby-head'
32+
- os: ubuntu-latest
33+
ruby: 'truffleruby-head'
34+
# Run rubocop in 1 job only, against lowest supported ruby.
2735
- os: ubuntu-latest
2836
ruby: '2.5'
2937
command: 'bundle exec rake rubocop'

0 commit comments

Comments
 (0)