Merge vagrant-spec install and run step

This commit is contained in:
sophia 2022-02-03 17:04:22 -06:00 committed by Paul Hinze
parent 131bb5740c
commit ae165d029c
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0

View File

@ -52,12 +52,10 @@ jobs:
with:
repository: 'hashicorp/vagrant-spec'
path: vagrant-spec
- name: Install vagrant-spec
- name: Install and run vagrant-spec
run: |
gem build vagrant-spec/vagrant-spec.gemspec
gem install --local vagrant-spec-0.0.1.gem
- name: Run spec tests
run: |
vagrant-spec test --components=cli/box cli/plugin cli/version cli/init --config test/vagrant-spec/configs/vagrant-spec.config.virtualbox.rb
gem install vagrant-spec-0.0.1.gem
bundle exec vagrant-spec test --components=cli/box cli/plugin cli/version cli/init --config test/vagrant-spec/configs/vagrant-spec.config.virtualbox.rb
env:
VAGRANT_SPEC_BOX: "hashicorp/bionic64"