File tree Expand file tree Collapse file tree 2 files changed +39
-56
lines changed Expand file tree Collapse file tree 2 files changed +39
-56
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -207,6 +207,44 @@ jobs:
207207 name : Run tests
208208 run : bundle exec rake ci:apply:windows
209209
210+ boltspec :
211+ name : BoltSpec
212+ needs :
213+ - rubocop_and_matrix
214+ - cache_modules
215+ strategy :
216+ fail-fast : false
217+ matrix :
218+ os : [ubuntu-24.04, windows-2025]
219+ # currently fails on Ruby 3.4
220+ # ruby: ${{ fromJSON(needs.rubocop_and_matrix.outputs.ruby) }}
221+ ruby : ['3.2', '3.3']
222+ runs-on : ${{ matrix.os }}
223+ steps :
224+ - name : Checkout repository
225+ uses : actions/checkout@v5
226+ - name : Setup Ruby
227+ uses : ruby/setup-ruby@v1
228+ with :
229+ ruby-version : ${{ matrix.ruby }}
230+ bundler-cache : true
231+ - name : Cache modules
232+ id : modules
233+ uses : actions/cache@v4
234+ with :
235+ path : modules
236+ key : ${{ runner.os }}-modules-${{ hashFiles('**/Puppetfile') }}
237+ - if : runner.os == 'Linux'
238+ uses : ./.github/actions/docker_setup
239+ - if : runner.os == 'Windows'
240+ uses : ./.github/actions/windows_agentless_setup
241+ - name : Run tests
242+ if : runner.os == 'Windows'
243+ run : bundle exec rake ci:boltspec:windows
244+ - name : Run tests
245+ if : runner.os == 'Linux'
246+ run : bundle exec rake ci:boltspec:linux
247+
210248 tests :
211249 needs :
212250 - rubocop_and_matrix
@@ -216,6 +254,7 @@ jobs:
216254 - local_transports
217255 - winrm_transport
218256 - apply
257+ - boltspec
219258 runs-on : ubuntu-24.04
220259 name : Test suite
221260 steps :
You can’t perform that action at this time.
0 commit comments