Initial commit #1
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: Salt Kitchen test | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
kitchen-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
instances: | |
- default-ubuntu-2204-30065 | |
- default-debian-12-30065 | |
- default-rocky9-30065 | |
- default-fedora38-30065 | |
- default-opensuse15-30065 | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Setup ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "3.2" | |
bundler-cache: true | |
- name: Install vagrant and virtualbox | |
uses: ConorMacBride/install-package@v1 | |
with: | |
apt: vagrant virtualbox | |
- name: Run kitchen test | |
run: | | |
bundle exec kitchen test ${{ matrix.instances }} |