Saltstack Official Salt Formula
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

37 lines
1.0KB

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