Skip to content

Commit

Permalink
Ensure rspec rake task returns the exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
westonganger committed Oct 15, 2023
1 parent 8579155 commit 3471a2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,6 @@ jobs:

- name: Run tests
run: |
bundle exec rake
bundle exec rake db:create
bundle exec rake db:migrate
bundle exec rake test
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ require 'bundler/gem_tasks'

task :test do
system("rspec", out: STDOUT)
exit $?.exitstatus
end

task default: :test

0 comments on commit 3471a2f

Please sign in to comment.