Skip to content

Commit a697c31

Browse files
committed
Narrow core CI specs
1 parent 4bf5bd9 commit a697c31

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
# Coverage
4949
- ruby: "ruby"
5050
appraisal: "coverage"
51-
exec_cmd: "rake spec:core"
51+
exec_cmd: "rake spec:orm:active_record"
5252
rubygems: latest
5353
bundler: latest
5454

Rakefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,11 @@ begin
173173
Rake::Task[task_name].clear if Rake::Task.task_defined?(task_name)
174174
end
175175

176-
model_specs = FileList["spec/omniauth/identity/models/*_spec.rb"]
177-
core_specs = FileList["spec/**/*_spec.rb"] - model_specs
176+
core_specs = FileList[
177+
"spec/omniauth/identity/model_spec.rb",
178+
"spec/omniauth/identity/secure_password_spec.rb",
179+
"spec/omniauth/identity/version_spec.rb",
180+
]
178181
orm_specs = {
179182
active_record: "spec/omniauth/identity/models/active_record_spec.rb",
180183
couch_potato: "spec/omniauth/identity/models/couch_potato_module_spec.rb",

0 commit comments

Comments
 (0)