mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-06-11 09:40:07 -04:00
Some checks failed
/ sync-acceptance (push) Has been cancelled
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](8e8c483db8...de0fac2e45)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 6.0.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
50 lines
1.2 KiB
YAML
50 lines
1.2 KiB
YAML
name: Vagrant Ruby Tests
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- 'test-*'
|
|
paths:
|
|
- 'bin/**'
|
|
- 'lib/**'
|
|
- 'plugins/**'
|
|
- 'test/**'
|
|
- 'templates/**'
|
|
- 'Gemfile'
|
|
- 'vagrant.gemspec'
|
|
- 'Rakefile'
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- 'bin/**'
|
|
- 'lib/**'
|
|
- 'plugins/**'
|
|
- 'test/**'
|
|
- 'Gemfile'
|
|
- 'templates/**'
|
|
- 'vagrant.gemspec'
|
|
- 'Rakefile'
|
|
|
|
jobs:
|
|
unit-tests-ruby:
|
|
runs-on: ubuntu-latest
|
|
continue-on-error: true
|
|
strategy:
|
|
matrix:
|
|
ruby: [ '3.1', '3.2', '3.3', '3.4' ]
|
|
name: Vagrant unit tests on Ruby ${{ matrix.ruby }}
|
|
steps:
|
|
- name: Code Checkout
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
- name: Setup Ruby
|
|
uses: ruby/setup-ruby@3ff19f5e2baf30647122352b96108b1fbe250c64 # v1.299.0
|
|
with:
|
|
ruby-version: ${{matrix.ruby}}
|
|
bundler-cache: true
|
|
- name: install dependencies
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -yq libarchive-tools
|
|
- name: Run Tests
|
|
run: bundle exec rake test:unit
|