Skip to content

Commit 31dde34

Browse files
committed
rspec spec/live --only-failures
1 parent c0492ef commit 31dde34

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,4 @@ jobs:
5353
run: |
5454
bundle install
5555
bundle exec rake clean_live set_ci_credentials spec:live
56+
bundle exec rspec spec/live --only-failures

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
doc/**
2+
spec/examples.txt
23
spec/fixtures/cassettes
34
spec/fixtures/credentials.yml
45
coverage/**

spec/core/spec_helper.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ def stub_json_request(verb, path_matcher, body = json, options = {})
142142
client.config.logger = old_logger
143143
end
144144

145+
# Used by `rspec spec/live --only-failures` in CI
146+
c.example_status_persistence_file_path = "spec/examples.txt"
147+
145148
c.extend ResourceMacros
146149
c.extend ZendeskAPI::Fixtures
147150
c.include ZendeskAPI::Fixtures

0 commit comments

Comments
 (0)