Skip to content

Revert "CI: Move apply tests to central workflow" #177

Revert "CI: Move apply tests to central workflow"

Revert "CI: Move apply tests to central workflow" #177

Workflow file for this run

---
name: Windows
on:
pull_request: {}
push:
branches:
- main
env:
BOLT_WINRM_USER: roddypiper
BOLT_WINRM_HOST: localhost
BOLT_WINRM_PORT: 5985
BOLT_WINRM_SSL_PORT: 5986
BOLT_WINRM_SMB_PORT: 445
permissions:
contents: read
jobs:
integration:
name: Integration
runs-on: windows-latest
strategy:
matrix:
ruby: [3.2]
env:
WINDOWS_AGENTS: true
steps:
- name: Checkout repository
uses: actions/checkout@v5
- 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
- uses: ./.github/actions/windows_agent_setup
- name: Run tests
run: bundle exec rake ci:windows:integration
agentless:
name: Agentless
runs-on: windows-latest
strategy:
matrix:
ruby: [3.2]
env:
BOLT_WINDOWS: true
steps:
- name: Checkout repository
uses: actions/checkout@v5
- 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
- uses: ./.github/actions/windows_agentless_setup
- name: Run tests
run: bundle exec rake ci:windows:agentless