Skip to content

Commit

Permalink
Setup test summary
Browse files Browse the repository at this point in the history
  • Loading branch information
andyundso committed Apr 17, 2024
1 parent 2416b1d commit 7dcd4fa
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,12 @@ jobs:
env:
TOXIPROXY_HOST: "localhost"

- name: Test Summary
uses: test-summary/action@v2
with:
paths: "test/reports/TEST-*.xml"
if: always()

install-windows-ucrt:
needs:
- cross-compile
Expand Down Expand Up @@ -267,6 +273,12 @@ jobs:
env:
TOXIPROXY_HOST: "localhost"

- name: Test Summary
uses: test-summary/action@v2
with:
paths: "test/reports/TEST-*.xml"
if: always()

install-windows-native:
strategy:
fail-fast: false
Expand Down Expand Up @@ -388,3 +400,9 @@ jobs:
run: bundle exec rake test
env:
TOXIPROXY_HOST: "localhost"

- name: Test Summary
uses: test-summary/action@v2
with:
paths: "test/reports/TEST-*.xml"
if: always()
3 changes: 3 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
require 'minitest/autorun'
require 'toxiproxy'

require "minitest/reporters"
Minitest::Reporters.use! [Minitest::Reporters::SpecReporter.new, Minitest::Reporters::JUnitReporter.new]

TINYTDS_SCHEMAS = ['sqlserver_2017', 'sqlserver_azure'].freeze

module TinyTds
Expand Down
2 changes: 1 addition & 1 deletion tiny_tds.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Gem::Specification.new do |s|
s.add_development_dependency 'rake-compiler', '~> 1.2'
s.add_development_dependency 'rake-compiler-dock', '~> 1.4.0'
s.add_development_dependency 'minitest', '~> 5.14.0'
s.add_development_dependency 'minitest-ci', '~> 3.4.0'
s.add_development_dependency 'minitest-reporters', '~> 1.6.1'
s.add_development_dependency 'connection_pool', '~> 2.2.0'
s.add_development_dependency 'toxiproxy', '~> 2.0.0'
end

0 comments on commit 7dcd4fa

Please sign in to comment.