Skip to content

Update GitHub workflow to match Ruby versions #11

Update GitHub workflow to match Ruby versions

Update GitHub workflow to match Ruby versions #11

Workflow file for this run

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.1", "3.2", "3.3", "stable" ]
platform: [ "debian", "ubuntu" ]
steps:
- uses: actions/checkout@v3
- 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