Skip to content

Change Rakefile to run json checks first then all checks#1075

Open
jasnow wants to merge 1 commit into
rubysec:masterfrom
jasnow:json-checks-first
Open

Change Rakefile to run json checks first then all checks#1075
jasnow wants to merge 1 commit into
rubysec:masterfrom
jasnow:json-checks-first

Conversation

@jasnow
Copy link
Copy Markdown
Contributor

@jasnow jasnow commented May 26, 2026

Change Rakefile to run json checks first then all checks

  • Rakefile

This will help isolate issue with the checks going forward.

Comment thread Rakefile
end

RSpec::Core::RakeTask.new(:schema) do |t|
t.pattern = 'spec/schema_validation_spec.rb'
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is already included by the default pattern used for the :lint check, meaning that if I run bundle exec rake it will run the schema tests twice.

You may want to declare the :yaml task with an exclude_pattern so that this spec file is only handled by one or the other (but not by both).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants