Skip to content

Commit 1e6194a

Browse files
committed
ci(chore): x-plat - skip cli tests on windows
1 parent cb31c4a commit 1e6194a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

spec/features/cli_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
require 'fileutils'
44
require 'English'
55

6-
RSpec.describe 'the CLI' do
6+
RSpec.describe 'the CLI', skip_windows: true do
77
CLI_SPEC_PACT_FILE_PATH = './tmp/foo-bar.json'.freeze
88

99
let(:json) { File.read('spec/fixtures/message-v1-format.json') }

spec/spec_helper.rb

+2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
config.example_status_persistence_file_path = ".rspec_status"
66

77
config.disable_monkey_patching!
8+
is_windows = Gem.win_platform?
89

10+
config.filter_run_excluding :skip_windows => is_windows
911
config.expect_with :rspec do |c|
1012
c.syntax = :expect
1113
end

0 commit comments

Comments
 (0)