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.

41 lines
1.2KB

  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. # - default-freebsd-130-master-py3
  16. # - default-freebsd-123-master-py3
  17. - default-freebsd-130-3004-0-py3
  18. - default-freebsd-123-3004-0-py3
  19. - default-openbsd-70-3003-3-py3
  20. - default-openbsd-69-3002-6-py3
  21. - default-windows-10-latest-py3
  22. - default-windows-81-latest-py3
  23. steps:
  24. - name: 'Check out code'
  25. uses: 'actions/checkout@v2'
  26. - name: 'Set up Bundler cache'
  27. uses: 'actions/cache@v1'
  28. with:
  29. path: 'vendor/bundle'
  30. key: "${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}"
  31. restore-keys: "${{ runner.os }}-gems-"
  32. - name: 'Run Bundler'
  33. run: |
  34. ruby --version
  35. bundle config path vendor/bundle
  36. bundle install --jobs 4 --retry 3
  37. - name: 'Run Test Kitchen'
  38. run: 'bundle exec kitchen verify ${{ matrix.instance }}'