-
-
Notifications
You must be signed in to change notification settings - Fork 786
54 lines (49 loc) · 1.12 KB
/
ci.yml
File metadata and controls
54 lines (49 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
name: ci
"on":
pull_request:
push:
branches:
- main
jobs:
lint-unit:
uses: sous-chefs/.github/.github/workflows/lint-unit.yml@main
permissions:
actions: write
checks: write
pull-requests: write
statuses: write
issues: write
integration:
needs: lint-unit
runs-on: ubuntu-latest
strategy:
matrix:
suite:
- "installation-package"
- "installation-tarball"
- "installation-script"
- "install-and-stop"
- "resources"
- "network"
- "volume"
- "registry"
- "swarm"
- "smoke"
fail-fast: false
steps:
- name: Check out code
uses: actions/checkout@v6
- name: Test Kitchen
uses: ./.github/actions/test-kitchen
with:
kitchen-yaml: kitchen.exec.yml
suite: ${{ matrix.suite }}
os: "ubuntu-latest"
license-id: ${{ secrets.CHEF_LICENSE_KEY }}
final:
needs: [lint-unit, integration]
runs-on: ubuntu-latest
steps:
- name: Complete
run: echo "All tests passed"