Skip to content

Commit

Permalink
Merge pull request #87 from ruby/enable-windows-test
Browse files Browse the repository at this point in the history
Enabled windows-latest on GHA
  • Loading branch information
hsbt authored Nov 29, 2024
2 parents 60df08b + 38f0e36 commit fe2635b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ jobs:
strategy:
matrix:
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
os: [ ubuntu-latest, macos-latest ]
os: [ ubuntu-latest, macos-latest, windows-latest ]
exclude:
- ruby: 2.6
os: windows-latest
- ruby: 2.7
os: windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion test/net/smtp/test_smtp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ def loop
@sock.puts "502 5.5.2 Error: command not recognized\r\n"
end
end
rescue Errno::ECONNRESET
rescue Errno::ECONNRESET, Errno::ECONNABORTED
nil
end
end
Expand Down

0 comments on commit fe2635b

Please sign in to comment.