aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/test-manual.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/test-manual.yaml b/.github/workflows/test-manual.yaml
new file mode 100644
index 0000000..1c8ed2c
--- /dev/null
+++ b/.github/workflows/test-manual.yaml
@@ -0,0 +1,21 @@
+name: "Test Features (manual)"
+on:
+ workflow_dispatch:
+ inputs:
+ features:
+ description: 'Comma-separated list of features to execute tests against'
+ required: true
+ default: 'go,dotnet'
+ baseImage:
+ description: 'Base image'
+ required: true
+ default: 'mcr.microsoft.com/vscode/devcontainers/base:focal'
+
+jobs:
+ test:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+
+ - name: " Testing '${{ github.event.inputs.features }}' against '${{ github.event.inputs.baseImage }}'"
+ run: npx --yes ./dev-containers-cli-0.1.0.tgz features-test -f ${{ github.event.inputs.features }} -i ${{ github.event.inputs.baseImage }} -d `pwd`