Update Rubies #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |