-
Notifications
You must be signed in to change notification settings - Fork 8
47 lines (38 loc) · 1.08 KB
/
tests.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
40
41
42
43
44
45
46
47
name: Tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: "Checkout code"
uses: actions/checkout@v2
- name: "Install docker-ce"
run: |
sudo apt-get update
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
- name: "Install Lando"
run: |
wget https://files.devwithlando.io/lando-stable.deb
sudo dpkg -i lando-stable.deb
- name: "Setup Env"
run: |
lando start
lando setup
- name: "Run tests"
run: |
lando test-unit
lando test-wpunit
lando test-acceptance
lando test-functional