2021-03-26 12:15:22 +01:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# vim: ft=yaml
|
|
|
|
---
|
|
|
|
name: 'Kitchen Vagrant (FreeBSD, OpenBSD & Windows)'
|
|
|
|
'on': ['push', 'pull_request']
|
|
|
|
|
|
|
|
env:
|
|
|
|
KITCHEN_LOCAL_YAML: 'kitchen.vagrant.yml'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: 'macos-10.15'
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
instance:
|
2021-04-19 10:40:32 +02:00
|
|
|
- v3002-py3-freebsd-130-3002-6-py3
|
2021-04-05 19:54:57 +02:00
|
|
|
- v3002-py3-freebsd-122-3002-6-py3
|
|
|
|
- v3002-py3-freebsd-114-3002-6-py3
|
2021-05-23 08:58:16 +02:00
|
|
|
- v3002-py3-openbsd-69-3002-6-py3
|
2021-04-05 19:54:57 +02:00
|
|
|
- v3001-py3-openbsd-68-3001-1-py3
|
2021-04-22 09:40:02 +02:00
|
|
|
- v3003-py3-windows-10-latest-py3
|
|
|
|
- v3003-py3-windows-81-latest-py3
|
2021-03-26 12:15:22 +01:00
|
|
|
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 }}'
|