Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Test Summary to GitHub Action #37

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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()
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -335,6 +339,7 @@ DEPENDENCIES
rails (~> 7.0.1)
rails-observers
rspec-rails
rspec-tap-formatters
selenium-webdriver
stackprof
standard
Expand Down