Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,50 @@ jobs:
name: Run tests
run: bundle exec rake ci:local_transport:windows

winrm_transport:
needs: rubocop_and_matrix
env:
BOLT_WINRM_USER: roddypiper
BOLT_WINRM_HOST: localhost
BOLT_WINRM_PORT: 5985
BOLT_WINRM_SSL_PORT: 5986
BOLT_WINRM_SMB_PORT: 445
name: WinRM Transport
runs-on: windows-latest
strategy:
matrix:
ruby: ${{ fromJSON(needs.rubocop_and_matrix.outputs.ruby) }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Cache modules
id: modules
uses: actions/cache@v4
with:
path: modules
key: ${{ runner.os }}-modules-${{ hashFiles('**/Puppetfile') }}
- name: Install modules
if: steps.modules.outputs.cache-hit != 'true'
run: bundle exec r10k puppetfile install
- name: Configure WinRM and use Puppet's Ruby
shell: powershell
run: |
. scripts\ci.ps1
Set-ActiveRubyFromPuppet
- name: WinRM transport tests
run: bundle exec rake ci:winrm_transport
tests:
needs:
- rubocop_and_matrix
- unit
- run-dita
- local_transports
- winrm_transport
runs-on: ubuntu-24.04
name: Test suite
steps:
Expand Down
50 changes: 0 additions & 50 deletions .github/workflows/winrm_transport.yaml

This file was deleted.

Loading