From d2c008d4761cf32c9c09151fad399c03282451ef 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 | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 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..8733a95 --- /dev/null +++ b/.github/workflows/test-vagrant.yml @@ -0,0 +1,29 @@ +name: Test vagrant up + +on: + push: + branches: + - main + tags: + - '*' + pull_request: + branches: + - main + schedule: + - cron: '46 3 * * 2' + +jobs: + build: + runs-on: macos-latest + timeout-minutes: 120 + 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"