features/.github/workflows/test-all.yaml
JP Ungaretti e99bc62ea3
Merge JupyterLab feature into Python feature (#40)
* Restructure tools installation

* Tweak bash and zsh config

* Remove extra space

* Update comments

* Add option to install JupyterLab

* Add option to configure JupyterLab

* Add option to install ML packages

* Remove deprecated JuptyerLab feature

* Add new arguments to Python feature

* Remove trailing whitespace

* Organize new arguments

* Resolve feedback

* Create new scenario for JupyterLab

* Fix user in JupyterLab scenario

* Revert changes to Python test

* Remove ML packages

* Update test names

* Rename CORS option
2022-06-08 11:19:31 -07:00

47 lines
1.3 KiB
YAML

name: "(CI) Test Features"
on:
push:
branches:
- main
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'no-ci') && !contains(github.event.head_commit.message, 'CI ignore')"
continue-on-error: true
strategy:
matrix:
features: [
"anaconda",
"aws-cli",
"azure-cli",
"common",
"desktop-lite",
"docker-from-docker",
"docker-in-docker",
"dotnet",
"git",
"git-lfs",
"github-cli",
"go",
"hugo",
"java",
"kubectl-helm-minikube",
"node",
"oryx",
"php",
"powershell",
"python",
"ruby",
"rust",
"sshd",
"terraform",
]
baseImage: [ "ubuntu:focal", "ubuntu:jammy", "debian:11", "mcr.microsoft.com/vscode/devcontainers/base:ubuntu", "mcr.microsoft.com/vscode/devcontainers/base:debian" ]
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`