aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/test.yaml
blob: 81c42036b3afa3b2d881660521ab038f47aa9e43 (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: " Testing '${{ matrix.features }}' against '${{ matrix.baseImage }}'"
        run: npx --yes ./dev-containers-cli-0.1.0.tgz features-test -f ${{ matrix.features }} -i ${{ matrix.baseImage }} -d `pwd`