• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sds / overcommit / 13624720857
91%
master: 91%

Build:
Build:
LAST BUILD BRANCH: solargraph-change-output-format
DEFAULT BRANCH: master
Ran 03 Mar 2025 06:24AM UTC
Jobs 6
Files 219
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Mar 2025 06:22AM UTC coverage: 91.012% (+0.003%) from 91.009%
13624720857

push

github

web-flow
adds 'set' requirements to diff hook context. (#866)

Running `overcommit` with the `--diff` flag results in errors for
version `0.67.0`.

```sh
bundle exec overcommit --diff HEAD
```

It results on the following:

```ruby
Running pre-commit hooks
Check for case-insensitivity conflicts................[CaseConflicts] FAILED
Hook raised unexpected error
uninitialized constant Overcommit::Hook::PreCommit::CaseConflicts::Set

      repo_files = Set.new(applicable_files)
                   ^^^
.bundle/ruby/3.1.0/gems/overcommit-0.67.0/lib/overcommit/hook/pre_commit/case_conflicts.rb:8:in `run'
.bundle/ruby/3.1.0/gems/overcommit-0.67.0/lib/overcommit/hook/base.rb:47:in `block in run_and_transform'
.bundle/ruby/3.1.0/gems/overcommit-0.67.0/lib/overcommit/utils.rb:260:in `with_environment'
.bundle/ruby/3.1.0/gems/overcommit-0.67.0/lib/overcommit/hook/base.rb:47:in `run_and_transform'
.bundle/ruby/3.1.0/gems/overcommit-0.67.0/lib/overcommit/hook_runner.rb:162:in `run_hook'
.bundle/ruby/3.1.0/gems/overcommit-0.67.0/lib/overcommit/hook_runner.rb:98:in `block in consume'
.bundle/ruby/3.1.0/gems/overcommit-0.67.0/lib/overcommit/hook_runner.rb:94:in `loop'
.bundle/ruby/3.1.0/gems/overcommit-0.67.0/lib/overcommit/hook_runner.rb:94:in `consume'
Analyze with RuboCop........................................[RuboCop] FAILED
Hook raised unexpected error
uninitialized constant Overcommit::GitRepo::Set

      lines = Set.new
              ^^^
.bundle/ruby/3.1.0/gems/overcommit-0.67.0/lib/overcommit/git_repo.rb:69:in `extract_modified_lines'
.bundle/ruby/3.1.0/gems/overcommit-0.67.0/lib/overcommit/hook_context/diff.rb:17:in `modified_lines_in_file'
/nix/store/0sj7d3r1kf95f27028j93j0sx3v6p1kw-ruby-3.1.6/lib/ruby/3.1.0/forwardable.rb:238:in `modified_lines_in_file'
.bundle/ruby/3.1.0/gems/overcommit-0.67.0/lib/overcommit/message_processor.rb:145:in `message_on_modified_line?'
.bundle/ruby/3.1.0/gems/overcommit-0.67.0/lib/overcommit/message_processor.rb:138:in `block in remove_... (continued)

1 of 1 new or added line in 1 file covered. (100.0%)

3230 of 3549 relevant lines covered (91.01%)

2005.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 ruby3.0-ubuntu - 13624720857.1 03 Mar 2025 06:24AM UTC 438
90.96
GitHub Action Run
2 ruby3.3-ubuntu - 13624720857.2 03 Mar 2025 06:26AM UTC 438
90.98
GitHub Action Run
3 ruby2.6-ubuntu - 13624720857.3 03 Mar 2025 06:24AM UTC 438
90.96
GitHub Action Run
4 ruby3.2-ubuntu - 13624720857.4 03 Mar 2025 06:24AM UTC 438
90.93
GitHub Action Run
5 ruby2.7-ubuntu - 13624720857.5 03 Mar 2025 06:24AM UTC 438
90.96
GitHub Action Run
6 ruby3.1-ubuntu - 13624720857.6 03 Mar 2025 06:24AM UTC 438
90.93
GitHub Action Run
Source Files on build 13624720857
  • Tree
  • List 219
  • Changed 218
  • Source Changed 1
  • Coverage Changed 218
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13624720857
  • 11ef06b6 on github
  • Prev Build on main (#13419540552)
  • Next Build on main (#13624740599)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc