79588ef3da
- updated the action checkout from v2 to 3 as required by action warning
29 lines
902 B
YAML
29 lines
902 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@v3
|
|
|
|
- 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 }} --log-level ${{ github.event.inputs.logLevel }} .
|