aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/test-all.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/test-all.yaml')
-rw-r--r--.github/workflows/test-all.yaml68
1 files changed, 64 insertions, 4 deletions
diff --git a/.github/workflows/test-all.yaml b/.github/workflows/test-all.yaml
index 6b453f8..621ee83 100644
--- a/.github/workflows/test-all.yaml
+++ b/.github/workflows/test-all.yaml
@@ -37,13 +37,73 @@ jobs:
"rust",
"sshd",
"terraform",
+ ]
+ baseImage:
+ [
+ "ubuntu:focal",
+ "ubuntu:jammy",
+ "debian:11",
+ "mcr.microsoft.com/devcontainers/base:ubuntu",
+ "mcr.microsoft.com/devcontainers/base:debian",
]
- baseImage: [ "ubuntu:focal", "ubuntu:jammy", "debian:11", "mcr.microsoft.com/vscode/devcontainers/base:ubuntu", "mcr.microsoft.com/vscode/devcontainers/base:debian" ]
steps:
- uses: actions/checkout@v2
- name: "Install latest devcontainer CLI"
- run: npm install -g @devcontainers/cli@0.12.1
+ run: npm install -g @devcontainers/cli
- - name: " Testing '${{ matrix.features }}' against '${{ matrix.baseImage }}'"
- run: devcontainer features test -f ${{ matrix.features }} -i ${{ matrix.baseImage }} -c `pwd`
+ - name: "Generating tests for '${{ matrix.features }}' against '${{ matrix.baseImage }}'"
+ run: devcontainer features test --skip-scenarios -f ${{ matrix.features }} -i ${{ matrix.baseImage }} .
+
+ test-scenarios:
+ runs-on: ubuntu-latest
+ continue-on-error: true
+ strategy:
+ matrix:
+ features: [
+ "anaconda",
+ "aws-cli",
+ "azure-cli",
+ "common-utils",
+ "desktop-lite",
+ "docker-from-docker",
+ "docker-in-docker",
+ "dotnet",
+ "git",
+ "git-lfs",
+ "github-cli",
+ "go",
+ "hugo",
+ "java",
+ "kubectl-helm-minikube",
+ "node",
+ "nvidia-cuda",
+ "oryx",
+ "php",
+ "powershell",
+ "python",
+ "ruby",
+ "rust",
+ "sshd",
+ "terraform",
+ ]
+ steps:
+ - uses: actions/checkout@v2
+
+ - name: "Install latest devcontainer CLI"
+ run: npm install -g @devcontainers/cli
+
+ - name: "Testing '${{ matrix.features }}' scenarios"
+ run: devcontainer features test -f ${{ matrix.features }} --skip-autogenerated .
+
+ test-global:
+ runs-on: ubuntu-latest
+ continue-on-error: true
+ steps:
+ - uses: actions/checkout@v2
+
+ - name: "Install latest devcontainer CLI"
+ run: npm install -g @devcontainers/cli
+
+ - name: "Testing global scenarios"
+ run: devcontainer features test --global-scenarios-only . \ No newline at end of file