Skip to content

Commit 89d6c04

Browse files
authored
🔀 Merge pull request #359 from ruby/enable-windows-test
Enabled windows-latest on GHA
2 parents b9d037d + 18cc951 commit 89d6c04

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
matrix:
2020
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
21-
os: [ ubuntu-latest, macos-latest ]
21+
os: [ ubuntu-latest, macos-latest, windows-latest ]
2222
experimental: [false]
2323
runs-on: ${{ matrix.os }}
2424
continue-on-error: ${{ matrix.experimental }}

test/net/imap/test_imap.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ def test_imaps_post_connection_check
102102

103103
if defined?(OpenSSL::SSL)
104104
def test_starttls_unknown_ca
105+
omit "This test is not working with Windows" if RUBY_PLATFORM =~ /mswin|mingw/
106+
105107
imap = nil
106108
assert_raise(OpenSSL::SSL::SSLError) do
107109
ex = nil

0 commit comments

Comments
 (0)