aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/test.yaml
blob: 2453dbf04ba23715de9719a60e399c1af4d232a6 (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: [ "anaconda", "aws-cli", "azure-cli", "common", "desktop-lite", "docker-from-docker", "docker-in-docker", "dotnet", "git", "github-cli", "git-lfs", "go", "gradle", "hugo", "java", "jupyterlab", "kubectl-helm-minikube", "maven", "node", "powershell", "python", "ruby", "rust", "sshd", "terraform" ]
            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`