Skip to content

Commit aa30e70

Browse files
committed
Update CI matrix, silence Rubocop for RSpec built-in method
1 parent 83e7ca3 commit aa30e70

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,14 @@ jobs:
1414
# Skip running tests for local pull requests (use push event instead), run only for foreign ones
1515
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.owner.login != github.event.pull_request.base.repo.owner.login
1616
runs-on: ubuntu-latest
17+
continue-on-error: ${{ matrix.optional || false }}
1718
strategy:
1819
fail-fast: false
1920
matrix:
2021
include:
22+
- ruby: head
23+
optional: true
24+
- ruby: "3.4"
2125
- ruby: "3.3"
2226
- ruby: "3.2"
2327
- ruby: "3.1"

lib/yabeda/rspec/base_matcher.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def initialize(metric)
3636
end
3737

3838
# RSpec doesn't define this method, but it is more convenient to rely on +match_when_negated+ method presence
39-
def does_not_match?(actual)
39+
def does_not_match?(actual) # rubocop:disable Naming/PredicatePrefix
4040
@actual = actual
4141
if respond_to?(:match_when_negated)
4242
match_when_negated(expected, actual)

0 commit comments

Comments
 (0)