-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (26 loc) · 839 Bytes
/
ci.yml
File metadata and controls
29 lines (26 loc) · 839 Bytes
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
name: CI
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
kitchen:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
script: ["3.2", "3.3", "3.4", "4.0", "stable"]
platform: ["debian", "ubuntu"]
steps:
- uses: actions/checkout@v6
- uses: ruby/setup-ruby@v1
with:
ruby-version: ruby # latest stable release
- name: Install test dependencies
run: gem install --no-doc test-kitchen kitchen-docker
- name: Run Test Kitchen
run: env KITCHEN_PLATFORM=${{ matrix.platform }} KITCHEN_SCRIPT=${{ matrix.script }} kitchen test