From 0e52a7749bbaeead0c422da5aa0e42ef529c67fc Mon Sep 17 00:00:00 2001 From: dcrosby Date: Wed, 11 Feb 2026 13:53:44 -0800 Subject: [PATCH] Add chefctl rspec tests to CI Summary: Add rspec gem to Gemfile and a CI step to run chefctl specs across the Ruby version matrix. Test Plan: CI will run `bundle exec rspec chefctl/src/spec` on push/PR. --- .github/workflows/ci.yml | 2 ++ Gemfile | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8440d22..789803f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,3 +30,5 @@ jobs: run: bundle install - name: Run rubocop run: ./scripts/run_rubocop + - name: Run chefctl tests + run: bundle exec rspec chefctl/src/spec diff --git a/Gemfile b/Gemfile index 30aef49..a98689c 100644 --- a/Gemfile +++ b/Gemfile @@ -1,3 +1,4 @@ source 'https://rubygems.org' gem 'base64' +gem 'rspec' gem 'rubocop', '= 1.25.1'