aboutsummaryrefslogblamecommitdiff
path: root/.github/workflows/test.yaml
blob: 60248de6fd586709380e0b37b6297f03c2d0cf5d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                          

                 

                                                      


                                 
                                                                                   
                                                                                                                                 
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: [ "ubuntu:focal" ]
    steps:
      - uses: actions/checkout@v2

      - name: " Testing '${{ matrix.features }}' against '${{ matrix.baseImage }}'"
        run: npx --yes ./devcontainers-cli-0.3.0.tgz features test -f ${{ matrix.features }} -i ${{ matrix.baseImage }} -c `pwd`