diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 96160ff0..72f6ada7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: with: bundler-cache: true - name: Rubocop - run: bin/rubocop + run: bin/rubocop --format github brakeman: runs-on: ubuntu-latest steps: @@ -220,7 +220,7 @@ jobs: bin/rake db:create bin/rake db:schema:load - name: rspec - run: bin/rspec + run: bin/rspec --format RSpec::Github::Formatter --format progress - name: Archive capybara artifacts uses: actions/upload-artifact@v4 if: failure() diff --git a/Gemfile b/Gemfile index d4032eea..1266760b 100644 --- a/Gemfile +++ b/Gemfile @@ -60,6 +60,7 @@ end group :test do gem "capybara" gem "rails-controller-testing" + gem "rspec-github", require: false gem "simplecov" gem "webmock" end diff --git a/Gemfile.lock b/Gemfile.lock index 2bddf576..38aa7dfe 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -318,6 +318,8 @@ GEM rspec-expectations (3.13.3) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) + rspec-github (2.4.0) + rspec-core (~> 3.0) rspec-mocks (3.13.1) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) @@ -458,6 +460,7 @@ DEPENDENCIES rails-controller-testing rails-i18n rollbar + rspec-github rspec-rails (~> 7.0.1) rubocop rubocop-capybara