-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (38 loc) · 1015 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: test
on:
pull_request:
paths-ignore:
- "README.md"
- "LICENSE.md"
- ".github/**"
branches:
- "*"
push:
paths-ignore:
- "README.md"
- "LICENSE.md"
- ".github/**"
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Update and install dependencies
shell: bash
env:
DEBIAN_FRONTEND: noninteractive
run: |
sudo apt update
sudo -E apt install -y --no-install-recommends curl ca-certificates software-properties-common
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
sudo -E apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
sudo apt update -qq
sudo -E apt install --no-install-recommends vagrant
- name: Test
shell: bash
run: |
vagrant up