Saltstack Official Salt Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223242526272829303132333435363738
  1. # -*- coding: utf-8 -*-
  2. # vim: ft=yaml
  3. ---
  4. name: 'Kitchen Vagrant (FreeBSD, OpenBSD & Windows)'
  5. 'on': ['push', 'pull_request']
  6. env:
  7. KITCHEN_LOCAL_YAML: 'kitchen.vagrant.yml'
  8. jobs:
  9. test:
  10. runs-on: 'macos-10.15'
  11. strategy:
  12. fail-fast: false
  13. matrix:
  14. instance:
  15. - v3003-py3-freebsd-130-3003-1-py3
  16. - v3003-py3-freebsd-122-3003-1-py3
  17. - v3002-py3-openbsd-69-3002-6-py3
  18. - v3001-py3-openbsd-68-3001-1-py3
  19. - v3003-py3-windows-10-latest-py3
  20. - v3003-py3-windows-81-latest-py3
  21. steps:
  22. - name: 'Check out code'
  23. uses: 'actions/checkout@v2'
  24. - name: 'Set up Bundler cache'
  25. uses: 'actions/cache@v1'
  26. with:
  27. path: 'vendor/bundle'
  28. key: "${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}"
  29. restore-keys: "${{ runner.os }}-gems-"
  30. - name: 'Run Bundler'
  31. run: |
  32. ruby --version
  33. bundle config path vendor/bundle
  34. bundle install --jobs 4 --retry 3
  35. - name: 'Run Test Kitchen'
  36. run: 'bundle exec kitchen verify ${{ matrix.instance }}'