Test Features (Autogenerated) #237
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- 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 }} |