ci: Run docker provider too
This commit is contained in:
parent
11a4664901
commit
baf1d777bc
4
.github/workflows/spectesting.yml
vendored
4
.github/workflows/spectesting.yml
vendored
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user