Saltstack Official Salt Formula
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

38 lines
1.1KB

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