From d8492af7de18077092682ccdd51d1f9e80c8722a Mon Sep 17 00:00:00 2001 From: Orien Madgwick <497874+orien@users.noreply.github.com> Date: Fri, 27 Dec 2024 10:12:15 +1100 Subject: [PATCH 1/3] CI: add Ruby 3.4 to the test matrix --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 837bb4cc..c2b811e0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: os: [ ubuntu ] - ruby: [ '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3' ] + ruby: [ '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4' ] include: - os: macos ruby: '2.7' From f866f8bc100679c4b0c87d866ccabcabde2e72dc Mon Sep 17 00:00:00 2001 From: Orien Madgwick <497874+orien@users.noreply.github.com> Date: Fri, 27 Dec 2024 11:59:36 +1100 Subject: [PATCH 2/3] CI: avoid cancelling all build steps if one fails --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c2b811e0..4a76c67d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,6 +6,7 @@ jobs: name: Test (Ruby ${{ matrix.ruby }}, ${{ matrix.os }}) runs-on: ${{ matrix.os }}-latest strategy: + fail-fast: false matrix: os: [ ubuntu ] ruby: [ '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4' ] From cd9da116437033463cb66d43d5cf0ffd5089f2d7 Mon Sep 17 00:00:00 2001 From: Orien Madgwick <497874+orien@users.noreply.github.com> Date: Fri, 27 Dec 2024 12:02:10 +1100 Subject: [PATCH 3/3] Add `ostruct` as a development dependency --- lib/stack_master/test_driver/cloud_formation.rb | 1 + stack_master.gemspec | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/stack_master/test_driver/cloud_formation.rb b/lib/stack_master/test_driver/cloud_formation.rb index db525baf..66cb0dbf 100644 --- a/lib/stack_master/test_driver/cloud_formation.rb +++ b/lib/stack_master/test_driver/cloud_formation.rb @@ -1,3 +1,4 @@ +require 'ostruct' require 'securerandom' module StackMaster diff --git a/stack_master.gemspec b/stack_master.gemspec index 251eafda..5d803c09 100644 --- a/stack_master.gemspec +++ b/stack_master.gemspec @@ -33,6 +33,7 @@ Gem::Specification.new do |spec| spec.add_development_dependency "cucumber" spec.add_development_dependency "aruba" spec.add_development_dependency "timecop" + spec.add_development_dependency "ostruct" spec.add_dependency "os" spec.add_dependency "ruby-progressbar" spec.add_dependency "commander", ">= 4.6.0", "< 6"