Saltstack Official Salt Formula
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

80 linhas
2.2KB

  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-13:
  10. runs-on: 'macos-12'
  11. strategy:
  12. fail-fast: false
  13. matrix:
  14. instance:
  15. - default-macos-13-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-12:
  33. runs-on: 'macos-12'
  34. strategy:
  35. fail-fast: false
  36. matrix:
  37. instance:
  38. - default-macos-12-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-11:
  56. runs-on: 'macos-11'
  57. strategy:
  58. fail-fast: false
  59. matrix:
  60. instance:
  61. - default-macos-11-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 }}'