From 3753c05ca2ceb2c732371206b50092d4b23c24fc Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Wed, 29 Nov 2023 11:47:06 +0100 Subject: [PATCH] gh_actions: add testing action for `vagrant up` --- .github/workflows/test-vagrant.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/test-vagrant.yml diff --git a/.github/workflows/test-vagrant.yml b/.github/workflows/test-vagrant.yml new file mode 100644 index 0000000..0a765e3 --- /dev/null +++ b/.github/workflows/test-vagrant.yml @@ -0,0 +1,28 @@ +name: Test vagrant up + +on: + push: + branches: + - main + tags: + - '*' + pull_request: + branches: + - main + schedule: + - cron: '46 3 * * 2' + +jobs: + build: + runs-on: macos-latest + steps: + - uses: actions/checkout@main + with: + submodules: true + ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} + - name: Install vagrant plugins + run: vagrant plugin install vagrant-reload + - name: Run vagrant up + run: vagrant up + - name: SSH into box after boot + run: vagrant ssh -c "ls Artifacts-CoNEXT23-DoC"