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

CI: Annotate errors for Github #2328

Merged
merged 4 commits into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from 3 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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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()
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ end
group :test do
gem "capybara"
gem "rails-controller-testing"
gem "rspec-github", require: false
gem "simplecov"
gem "webmock"
end
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,8 @@ GEM
rspec-expectations (3.13.2)
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)
Expand Down Expand Up @@ -460,6 +462,7 @@ DEPENDENCIES
rails-controller-testing
rails-i18n
rollbar
rspec-github
rspec-rails (~> 6.1.4)
rubocop
rubocop-capybara
Expand Down