-
Notifications
You must be signed in to change notification settings - Fork 22
40 lines (37 loc) · 938 Bytes
/
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
on:
# Trigger on pull request events. Also trigger on push events for feature branches.
push:
branches: [ issue-111-update-command ]
paths-ignore:
- '**.md'
- 'docs/**'
- '.gitignore'
- 'images/**'
pull_request:
branches: [ 1.x-1.x, issue-111-update-command ]
paths-ignore:
- '**.md'
- 'docs/**'
- '.gitignore'
- 'images/**'
jobs:
tests:
runs-on: ubuntu-latest
steps:
# Checks-out repo under $GITHUB_WORKSPACE.
- uses: actions/checkout@v3
# Installs Lando. @see https://docs.lando.dev/install/gha.html
- name: Lando Setup
uses: lando/setup-lando@v3
with:
lando-version: latest
# Run Lando
- name: Lando
run: |
cd $GITHUB_WORKSPACE
lando start
# Runs PHPUnit tests.
- name: PHPUnit
run: |
cd $GITHUB_WORKSPACE
lando run-tests