features/.github/workflows/test.yaml
Samruddhi Khandale f86091f02d
Adds a PHP feature (#22)
* add php

* add test

* fix test

* add to workflow

* fix test

* fix bug

* test composer

Co-authored-by: Josh Spicer <joshspicer@github.com>
2022-05-25 15:18:28 -07:00

48 lines
1.2 KiB
YAML

name: "Test Features"
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
continue-on-error: true
strategy:
matrix:
features: [
"anaconda",
"aws-cli",
"azure-cli",
"common",
"desktop-lite",
"docker-from-docker",
"docker-in-docker",
"dotnet",
"git",
"github-cli",
"git-lfs",
"go",
"gradle",
"hugo",
"java",
"php",
"python jupyterlab", # Install 'python', then 'jupyterlab'
"kubectl-helm-minikube",
"maven",
"node",
"powershell",
"python",
"ruby",
"rust",
"sshd",
"terraform" ]
baseImage: [ "ubuntu:focal" ]
steps:
- uses: actions/checkout@v2
- name: " Testing '${{ matrix.features }}' against '${{ matrix.baseImage }}'"
run: npx --yes ./devcontainers-cli-0.3.0.tgz features test -f ${{ matrix.features }} -i ${{ matrix.baseImage }} -c `pwd`