ruby before jekyll and format workflows

This commit is contained in:
Josh Spicer 2022-05-26 02:09:32 +00:00 committed by GitHub
parent 7f182aaea2
commit 1678006363
2 changed files with 43 additions and 42 deletions

View file

@ -1,8 +1,8 @@
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`

View file

@ -1,19 +1,19 @@
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 }}