Skip to content

Update box add action to pass arch correctly #1918

Update box add action to pass arch correctly

Update box add action to pass arch correctly #1918

Workflow file for this run

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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Ruby
uses: ruby/setup-ruby@a4effe49ee8ee5b8b5091268c473a4628afb5651 # v1.245.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