Commit 16780063 authored by Josh Spicer's avatar Josh Spicer Committed by GitHub

ruby before jekyll and format workflows

parent 7f182aae
name: "Test Features (CI)"
on:
on:
push:
branches:
- main
- main
workflow_dispatch:
jobs:
......@@ -10,38 +10,39 @@ jobs:
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",
"git-lfs",
"github-cli",
"go",
"java gradle", # Install 'java', then 'gradle'
"hugo",
"java",
"jekyll",
"python jupyterlab", # Install 'python', then 'jupyterlab'
"kubectl-helm-minikube",
"maven",
"node",
"php",
"powershell",
"python",
"ruby",
"rust",
"sshd",
"terraform" ]
baseImage: [ "ubuntu:focal" ]
matrix:
features: [
"anaconda",
"aws-cli",
"azure-cli",
"common",
"desktop-lite",
"docker-from-docker",
"docker-in-docker",
"dotnet",
"git",
"git-lfs",
"github-cli",
"go",
"java gradle", # Install 'java', then 'gradle'
"hugo",
"java",
"ruby jekyll", # Install 'ruby', then 'jekyll'
"python jupyterlab", # Install 'python', then 'jupyterlab'
"kubectl-helm-minikube",
"maven",
"node",
"php",
"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`
run: npx --yes ./devcontainers-cli-0.3.0.tgz features test -f ${{ matrix.features }} -i ${{ matrix.baseImage }} -c `pwd`
name: "Test Features (Manual)"
on:
on:
workflow_dispatch:
inputs:
features:
description: 'list of features to execute tests against'
description: "list of features to execute tests against"
required: true
default: 'go dotnet'
baseImage:
description: 'Base image'
default: "go dotnet"
baseImage:
description: "Base image"
required: true
default: 'ubuntu:focal'
default: "ubuntu:focal"
logLevel:
description: 'Log Level (info/debug/trace)'
description: "Log Level (info/debug/trace)"
required: true
default: 'info'
default: "info"
jobs:
test:
......@@ -22,4 +22,4 @@ jobs:
- uses: actions/checkout@v2
- name: " Testing '${{ github.event.inputs.features }}' against '${{ github.event.inputs.baseImage }}'"
run: npx --yes ./devcontainers-cli-0.3.0.tgz features test --features ${{ github.event.inputs.features }} --base-image ${{ github.event.inputs.baseImage }} --collection-folder `pwd` --log-level ${{ github.event.inputs.logLevel }}
run: npx --yes ./devcontainers-cli-0.3.0.tgz features test --features ${{ github.event.inputs.features }} --base-image ${{ github.event.inputs.baseImage }} --collection-folder `pwd` --log-level ${{ github.event.inputs.logLevel }}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment