ci: Run docker provider too

This commit is contained in:
Paul Hinze 2022-04-22 16:59:37 -05:00
parent 11a4664901
commit baf1d777bc
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0
2 changed files with 6 additions and 3 deletions

View File

@ -29,7 +29,7 @@ jobs:
matrix:
host_os: ['hashicorp/bionic64']
guest_os: ['hashicorp-vagrant/ubuntu-16.04']
providers: ['virtualbox']
providers: ['virtualbox', 'docker']
steps:
- name: Code Checkout
uses: actions/checkout@v1
@ -54,7 +54,7 @@ jobs:
host_os: ['hashicorp/bionic64']
guest_os: ['hashicorp-vagrant/ubuntu-16.04']
docker_images: ['nginx']
providers: ['virtualbox']
providers: ['virtualbox', 'docker']
steps:
- name: Run Tests with host ${{ matrix.host_os }} using provider ${{ matrix.providers }}
run: ./.ci/spec/run-test.sh

View File

@ -119,7 +119,10 @@ Vagrant.configure(2) do |global_config|
keep_color: true,
env: {
"VAGRANT_SPEC_ARGS" => "test --components provider/docker/docker/* #{spec_cmd_args}".strip,
"VAGRANT_SPEC_DOCKER_IMAGE" => docker_image
"VAGRANT_SPEC_DOCKER_IMAGE" => docker_image,
"VAGRANT_LOG" => "trace",
"VAGRANT_LOG_LEVEL" => "trace",
"VAGRANT_SPEC_LOG_PATH" => "/tmp/vagrant-spec.log",
}
)
end