-
Notifications
You must be signed in to change notification settings - Fork 2
62 lines (57 loc) · 1.58 KB
/
features-auto.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
52
53
54
55
56
57
58
59
60
61
62
name: Test Features (Autogenerated)
on:
push:
branches:
- trunk
pull_request:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
permissions:
contents: read
jobs:
autogenerated:
name: '${{ matrix.feature }} against ${{ matrix.baseImage }}'
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
fail-fast: false
matrix:
baseImage:
- debian:latest
- debian:bookworm-slim
- ubuntu:noble
- mcr.microsoft.com/devcontainers/base:ubuntu
- mcr.microsoft.com/devcontainers/base:debian
- mcr.microsoft.com/devcontainers/base:alpine
feature:
- base
- cron
- cron-control-runner
- desktop-lite
- dev-tools
- elasticsearch
- entrypoints
- php
- mailpit
- mariadb
- mc
- memcached
- nginx
- ssh
- su-exec
- vip-cli
- vip-go-mu-plugins
- wp-cli
- wptl
exclude:
- feature: desktop-lite
baseImage: mcr.microsoft.com/devcontainers/base:alpine
steps:
- name: Checkout repository
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Install @devcontainers/cli
run: npm install -g @devcontainers/cli
- name: "Run tests for '${{ matrix.feature }}' against '${{ matrix.baseImage }}'"
run: devcontainer features test -p features --skip-scenarios -f ${{ matrix.feature }} -i ${{ matrix.baseImage }}