8ab60b9689
* Automated using https://github.com/myii/ssf-formula/pull/443
80 lines
2.3 KiB
YAML
80 lines
2.3 KiB
YAML
# -*- coding: utf-8 -*-
|
|
# vim: ft=yaml
|
|
---
|
|
name: 'Kitchen (macOS)'
|
|
'on': ['push', 'pull_request']
|
|
|
|
env:
|
|
KITCHEN_LOCAL_YAML: 'kitchen.macos.yml'
|
|
|
|
jobs:
|
|
test-12:
|
|
runs-on: 'macos-12'
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
instance:
|
|
- default-macos-12-latest-py3
|
|
steps:
|
|
- name: 'Check out code'
|
|
uses: 'actions/checkout@v2'
|
|
- name: 'Set up Bundler cache'
|
|
uses: 'actions/cache@v1'
|
|
with:
|
|
path: 'vendor/bundle'
|
|
key: "${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}"
|
|
restore-keys: "${{ runner.os }}-gems-"
|
|
- name: 'Run Bundler'
|
|
run: |
|
|
ruby --version
|
|
bundle config path vendor/bundle
|
|
bundle install --jobs 4 --retry 3
|
|
- name: 'Run Test Kitchen'
|
|
run: 'bundle exec kitchen verify ${{ matrix.instance }}'
|
|
test-11:
|
|
runs-on: 'macos-11'
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
instance:
|
|
- default-macos-11-latest-py3
|
|
steps:
|
|
- name: 'Check out code'
|
|
uses: 'actions/checkout@v2'
|
|
- name: 'Set up Bundler cache'
|
|
uses: 'actions/cache@v1'
|
|
with:
|
|
path: 'vendor/bundle'
|
|
key: "${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}"
|
|
restore-keys: "${{ runner.os }}-gems-"
|
|
- name: 'Run Bundler'
|
|
run: |
|
|
ruby --version
|
|
bundle config path vendor/bundle
|
|
bundle install --jobs 4 --retry 3
|
|
- name: 'Run Test Kitchen'
|
|
run: 'bundle exec kitchen verify ${{ matrix.instance }}'
|
|
test-1015:
|
|
runs-on: 'macos-10.15'
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
instance:
|
|
- default-macos-1015-latest-py3
|
|
steps:
|
|
- name: 'Check out code'
|
|
uses: 'actions/checkout@v2'
|
|
- name: 'Set up Bundler cache'
|
|
uses: 'actions/cache@v1'
|
|
with:
|
|
path: 'vendor/bundle'
|
|
key: "${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}"
|
|
restore-keys: "${{ runner.os }}-gems-"
|
|
- name: 'Run Bundler'
|
|
run: |
|
|
ruby --version
|
|
bundle config path vendor/bundle
|
|
bundle install --jobs 4 --retry 3
|
|
- name: 'Run Test Kitchen'
|
|
run: 'bundle exec kitchen verify ${{ matrix.instance }}'
|