Tinkerbell.Sandbox/.github/workflows/vagrant-packet.yaml

18 lines
416 B
YAML
Raw Permalink Normal View History

name: Setup with Vagrant on Packet
on:
push:
pull_request:
types: [labeled]
jobs:
vagrant-setup:
if: contains(github.event.pull_request.labels.*.name, 'ci-check/vagrant-setup')
runs-on: vagrant
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Vagrant Test
run: |
export VAGRANT_DEFAULT_PROVIDER="virtualbox"
go test --timeout 1h -v ./test/_vagrant