aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/test-manual.yaml
blob: d5714c728ece8dd3ac2128cc706b46b849ae5bda (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: "Test Features (Manual)"
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: " 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 }}