Saltstack Official Salt Formula
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

kitchen.macos.yml 2.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. # -*- coding: utf-8 -*-
  2. # vim: ft=yaml
  3. ---
  4. name: 'Kitchen (macOS)'
  5. 'on': ['push', 'pull_request']
  6. env:
  7. KITCHEN_LOCAL_YAML: 'kitchen.macos.yml'
  8. jobs:
  9. test-12:
  10. runs-on: 'macos-12'
  11. strategy:
  12. fail-fast: false
  13. matrix:
  14. instance:
  15. - default-macos-12-latest-py3
  16. steps:
  17. - name: 'Check out code'
  18. uses: 'actions/checkout@v2'
  19. - name: 'Set up Bundler cache'
  20. uses: 'actions/cache@v1'
  21. with:
  22. path: 'vendor/bundle'
  23. key: "${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}"
  24. restore-keys: "${{ runner.os }}-gems-"
  25. - name: 'Run Bundler'
  26. run: |
  27. ruby --version
  28. bundle config path vendor/bundle
  29. bundle install --jobs 4 --retry 3
  30. - name: 'Run Test Kitchen'
  31. run: 'bundle exec kitchen verify ${{ matrix.instance }}'
  32. test-11:
  33. runs-on: 'macos-11'
  34. strategy:
  35. fail-fast: false
  36. matrix:
  37. instance:
  38. - default-macos-11-latest-py3
  39. steps:
  40. - name: 'Check out code'
  41. uses: 'actions/checkout@v2'
  42. - name: 'Set up Bundler cache'
  43. uses: 'actions/cache@v1'
  44. with:
  45. path: 'vendor/bundle'
  46. key: "${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}"
  47. restore-keys: "${{ runner.os }}-gems-"
  48. - name: 'Run Bundler'
  49. run: |
  50. ruby --version
  51. bundle config path vendor/bundle
  52. bundle install --jobs 4 --retry 3
  53. - name: 'Run Test Kitchen'
  54. run: 'bundle exec kitchen verify ${{ matrix.instance }}'
  55. test-1015:
  56. runs-on: 'macos-10.15'
  57. strategy:
  58. fail-fast: false
  59. matrix:
  60. instance:
  61. - default-macos-1015-latest-py3
  62. steps:
  63. - name: 'Check out code'
  64. uses: 'actions/checkout@v2'
  65. - name: 'Set up Bundler cache'
  66. uses: 'actions/cache@v1'
  67. with:
  68. path: 'vendor/bundle'
  69. key: "${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}"
  70. restore-keys: "${{ runner.os }}-gems-"
  71. - name: 'Run Bundler'
  72. run: |
  73. ruby --version
  74. bundle config path vendor/bundle
  75. bundle install --jobs 4 --retry 3
  76. - name: 'Run Test Kitchen'
  77. run: 'bundle exec kitchen verify ${{ matrix.instance }}'