generated from saltstack-formulas/template-formula
-
Notifications
You must be signed in to change notification settings - Fork 1
55 lines (54 loc) · 1.42 KB
/
test.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
name: Test
on: # yamllint disable-line rule:truthy
pull_request: null
push:
branches:
- main
jobs:
kitchen:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
kitchen-suite:
- default
salt-version:
# See kitchen.yml --> platforms[].name
- master
# - tiamat
# - 3004-1
# - 3003-4
os-version:
# See kitchen.yml --> platforms[].name
# Not all OSes are available for all versions
- opensuse-tmbl-latest
- opensuse-leap-153
- debian-11
# - debian10
# - debian9
- ubuntu-2204
# - ubuntu2004
# - ubuntu1804
- centos-stream8
# - centos-7
- fedora-36
# - fedora35
- almalinux-8
- rockylinux-8
# - amazonlinux-2
# - oraclelinux-8
# - oraclelinux-7
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
# runs 'bundle install' and caches installed gems automatically:
bundler-cache: true
# yamllint disable rule:line-length
- run: bin/kitchen verify ${{ matrix.kitchen-suite }}-${{ matrix.os-version }}-${{ matrix.salt-version }}-py3
# yamllint enable rule:line-length