Skip to content

Commit

Permalink
Merge pull request #22 from pact-foundation/ruby_3_2
Browse files Browse the repository at this point in the history
Ruby 3 2
  • Loading branch information
YOU54F authored May 17, 2023
2 parents 394b8ba + 1601c95 commit 7c5217b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release_gem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- id: release-gem
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,12 @@ on: [push, pull_request]

jobs:
test:
runs-on: "ubuntu-latest"
continue-on-error: ${{ matrix.experimental }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
ruby_version: ["2.2", "2.7"]
experimental: [false]
include:
- ruby_version: "3.0"
experimental: true
ruby_version: ["2.7", "3.0", "3.1", "3.2"]
os: ["ubuntu-latest","windows-latest","macos-latest"]
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
Expand Down
2 changes: 1 addition & 1 deletion spec/features/cli_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
require 'fileutils'
require 'English'

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

let(:json) { File.read('spec/fixtures/message-v1-format.json') }
Expand Down
2 changes: 2 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
config.example_status_persistence_file_path = ".rspec_status"

config.disable_monkey_patching!
is_windows = Gem.win_platform?

config.filter_run_excluding :skip_windows => is_windows
config.expect_with :rspec do |c|
c.syntax = :expect
end
Expand Down

0 comments on commit 7c5217b

Please sign in to comment.