Saltstack Official Apache 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.

45 lines
1.3KB

  1. # -*- coding: utf-8 -*-
  2. # vim: ft=yaml
  3. ---
  4. name: 'Kitchen Vagrant (FreeBSD)'
  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. # - modules-freebsd-130-master-py3
  17. - freebsd-130-master-py3
  18. # - default-freebsd-122-master-py3
  19. # - modules-freebsd-122-master-py3
  20. - freebsd-122-master-py3
  21. # - default-freebsd-114-master-py3
  22. # - modules-freebsd-114-master-py3
  23. - freebsd-114-master-py3
  24. # - default-freebsd-130-3002-6-py3
  25. # - default-freebsd-122-3002-6-py3
  26. # - default-freebsd-114-3002-6-py3
  27. steps:
  28. - name: 'Check out code'
  29. uses: 'actions/checkout@v2'
  30. - name: 'Set up Bundler cache'
  31. uses: 'actions/cache@v1'
  32. with:
  33. path: 'vendor/bundle'
  34. key: "${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}"
  35. restore-keys: "${{ runner.os }}-gems-"
  36. - name: 'Run Bundler'
  37. run: |
  38. ruby --version
  39. bundle config path vendor/bundle
  40. bundle install --jobs 4 --retry 3
  41. - name: 'Run Test Kitchen'
  42. run: 'bundle exec kitchen verify ${{ matrix.instance }}'