diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 18646ad..1610d74 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,4 +64,10 @@ jobs: run: bundle exec standardrb - name: Run Tests - run: bundle exec rspec --format progress --color + run: bundle exec rspec --format RSpec::TAP::Formatters::Flat --out rspec.tap + + - name: Test Summary + uses: test-summary/action@v1 + with: + paths: "rspec.tap" + if: always() diff --git a/Gemfile b/Gemfile index 27ae36d..db36e3f 100644 --- a/Gemfile +++ b/Gemfile @@ -32,6 +32,7 @@ group :test, :development do gem "factory_bot_rails" gem "pry" gem "rspec-rails" + gem "rspec-tap-formatters", require: false gem "selenium-webdriver" gem "standard", require: false end diff --git a/Gemfile.lock b/Gemfile.lock index b94b151..1bdd797 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -217,6 +217,7 @@ GEM pry (0.14.1) coderay (~> 1.1) method_source (~> 1.0) + psych (3.3.2) public_suffix (4.0.7) puma (5.6.4) nio4r (~> 2.0) @@ -273,6 +274,9 @@ GEM rspec-mocks (~> 3.10) rspec-support (~> 3.10) rspec-support (3.11.0) + rspec-tap-formatters (0.1.0) + psych (>= 2.0, < 4.0) + rspec-core (>= 3.0, < 4.0) rubocop (1.29.0) parallel (~> 1.10) parser (>= 3.1.0.0) @@ -335,6 +339,7 @@ DEPENDENCIES rails (~> 7.0.1) rails-observers rspec-rails + rspec-tap-formatters selenium-webdriver stackprof standard