generated from genaumann/salt-formula-template
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (33 loc) · 874 Bytes
/
salt-kitchen.yml
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
---
name: Salt Kitchen test
on:
pull_request:
push:
branches:
- main
jobs:
kitchen-test:
runs-on: ubuntu-latest
strategy:
matrix:
instances:
- default-ubuntu-2204-30065
- default-debian-12-30065
- default-rocky9-30065
- default-fedora38-30065
- default-opensuse15-30060
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2.2"
bundler-cache: true
- name: Install vagrant and virtualbox
uses: ConorMacBride/install-package@v1
with:
apt: vagrant virtualbox
- name: Run kitchen test
run: |
CRED="export HETZNER_TOKEN=${{ secrets.HETZNER_TOKEN }}" bundle exec kitchen test ${{ matrix.instances }}