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
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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -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()
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -60,6 +60,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
@@ -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