-
-
Notifications
You must be signed in to change notification settings - Fork 5
53 lines (43 loc) · 1.11 KB
/
add-on-simple-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
48
49
50
51
name: Add-on simple tests
on:
push:
branches:
- main
- feat/add-sub-actions
paths-ignore:
- '**.md'
schedule:
- cron: '25 08 * * *'
workflow_dispatch:
permissions:
contents: write
env:
# Allow ddev get to use a GitHub token to prevent rate limiting by tests
DDEV_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
add-on-simple-test:
strategy:
fail-fast: false
matrix:
ddev_version: [ stable, HEAD ]
name: Add-on simple tests
runs-on: ubuntu-20.04
env:
ADDON_GITHUB_URL: "julienloizelet/ddev-playwright"
ADDON_REF: "v2.1.1"
steps:
- name: Clone tested add-on files
uses: actions/checkout@v3
with:
repository: ${{ env.ADDON_GITHUB_URL }}
ref: ${{ env.ADDON_REF }}
- name: Clone current repository
uses: actions/checkout@v3
with:
path: action
- name: Run DDEV test (${{ matrix.ddev_version }})
uses: ./action/
with:
ddev_version: ${{ matrix.ddev_version }}
token: ${{ secrets.GITHUB_TOKEN }}
debug_enabled: false