Add Gitea action for testing with Vagrant
Some checks failed
vagrant-up / vagrant-up (push) Failing after 0s

This commit is contained in:
Jakub Filo 2023-06-06 07:14:16 +00:00
parent ed8baac608
commit 5c4b7a185f
Signed by: plantroon
GPG Key ID: 7DA8C0FFEED0C0DE

View File

@ -0,0 +1,26 @@
name: vagrant-up
on: [push]
jobs:
vagrant-up:
runs-on: ubuntu-latest
container:
image: git.plantroon.com/plantroon/vbox-vagrant:7.0.6
privileged: true
volumes:
- /dev/vboxdrv:/dev/vboxdrv
steps:
- name: Get wget and git
run: apt update && apt install -y wget git nodejs
- name: Check out repository code
uses: actions/checkout@v3
- name: Run vagrant up
run: vagrant up --provider=virtualbox
- name: ssh into box after boot
run: vagrant ssh -c "echo 'hello world!'"