aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/test.yaml
blob: b4ffad72b04c5a1fda832aa3d33fb97ce4f1728d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: "Test Features"
on: 
  push:
    branches:
    - main
  pull_request:
  workflow_dispatch:

jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
          matrix:
            features: [ "go", "dotnet", "go,dotnet" ]
            baseImage: [ "mcr.microsoft.com/vscode/devcontainers/base:focal" ]
    steps:
      - uses: actions/checkout@v2

      - name: Invoke CLI testing ${{ matrix.features }} against ${{ matrix.baseImage }}
        run: npx --yes ./dev-containers-cli-0.1.0.tgz features-test -c `pwd`/collection -f ${{ matrix.features }}