features/.github/workflows/test-manual.yaml
Josh Spicer 97c1abf391
Skip CI on Documentation PRs (#103)
* no-ci

* [skip ci]

* attempt to not run CI on documentation updates

* remove old if statements in CI

* cleaner names [skip ci]
2022-08-19 11:14:03 -07:00

29 lines
926 B
YAML

name: "Manual - Test Features"
on:
workflow_dispatch:
inputs:
features:
description: "list of features to execute tests against"
required: true
default: "go dotnet"
baseImage:
description: "Base image"
required: true
default: "ubuntu:focal"
logLevel:
description: "Log Level (info/debug/trace)"
required: true
default: "info"
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: "Install latest devcontainer CLI"
run: npm install -g @devcontainers/cli
- name: "Testing '${{ github.event.inputs.features }}' against '${{ github.event.inputs.baseImage }}'"
run: devcontainer features test --features ${{ github.event.inputs.features }} --base-image ${{ github.event.inputs.baseImage }} --collection-folder `pwd` --log-level ${{ github.event.inputs.logLevel }}