Skip to content

Commit

Permalink
Fix issues on Windows and add CI testing
Browse files Browse the repository at this point in the history
Signed-off-by: Lance Albertson <[email protected]>
  • Loading branch information
ramereth committed Nov 10, 2021
1 parent bb12e39 commit 889d441
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,31 @@ jobs:
suite: ${{ matrix.suite }}
os: ${{ matrix.os }}

integration-windows:
needs: [mdl, yamllint, delivery]
runs-on: windows-latest
strategy:
matrix:
os:
- 'windows-latest'
suite:
- 'default'
fail-fast: false

steps:
- name: Check out code
uses: actions/checkout@v2
- name: Install Chef
uses: actionshub/chef-install@main
- name: test-kitchen
uses: actionshub/test-kitchen@main
env:
CHEF_LICENSE: accept-no-persist
KITCHEN_LOCAL_YAML: kitchen.exec.yml
with:
suite: ${{ matrix.suite }}
os: ${{ matrix.os }}

integration-macos:
needs: [mdl, yamllint, delivery]
runs-on: macos-latest
Expand All @@ -90,3 +115,11 @@ jobs:
with:
suite: ${{ matrix.suite }}
os: ${{ matrix.os }}

final:
runs-on: ubuntu-latest
needs: [integration, integration-windows, integration-macos]
steps:
- run: echo ${{needs.integration.outputs}}
- run: echo ${{needs.integration-windows.outputs}}
- run: echo ${{needs.integration-macos.outputs}}
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ This file is used to list changes made in each version of the users cookbook.

## Unreleased

- Fix issues on Windows and add CI testing

## 8.1.1 - *2021-08-30*

- Standardise files with files in sous-chefs/repo-management
Expand Down
1 change: 1 addition & 0 deletions kitchen.exec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ transport: { name: exec }

platforms:
- name: macos-latest
- name: windows-latest
10 changes: 10 additions & 0 deletions kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ platforms:
- name: opensuse-leap-15
- name: ubuntu-18.04
- name: ubuntu-20.04
- name: windows-2019
driver:
gui: false
box: tas50/windows_2019
customize:
cpus: 2
memory: 4096
transport:
name: winrm
elevated: true

suites:
- name: default
Expand Down

0 comments on commit 889d441

Please sign in to comment.