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

38 lines
1.0KB

  1. # -*- coding: utf-8 -*-
  2. # vim: ft=yaml
  3. ---
  4. name: 'Kitchen Vagrant (FreeBSD & OpenBSD)'
  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. - default-freebsd-123-master-py3
  17. # - default-freebsd-130-3004-0-py3
  18. # - default-freebsd-123-3004-0-py3
  19. - default-openbsd-70-3003-3-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 }}'