[pre-commit.ci] pre-commit autoupdate #66
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
# -*- coding: utf-8 -*- | |
# vim: ft=yaml | |
--- | |
name: 'Kitchen Vagrant (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: | |
- windows-windows-10-latest-py3 | |
- windows-windows-81-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 }}' |