aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/test-all.yaml
diff options
context:
space:
mode:
authorJosh Spicer <joshspicer@github.com>2022-08-24 00:23:21 +0300
committerGitHub <noreply@github.com>2022-08-24 00:23:21 +0300
commitf82307ad60514d1e912a9aa2b64204721fe955eb (patch)
treebc1799743ef7620c3e460d54f77c1fac3003fd4c /.github/workflows/test-all.yaml
parent84f4996643b84c6f3dcd5c3edc72ae176dceaf65 (diff)
test updates to adopt https://github.com/devcontainers/cli/pull/124 (#114)
* test updates to adopt https://github.com/devcontainers/cli/pull/124 * remove accidental tgz check in * typo in option * typo in python install script on dotnet6/jammy branch * no scenarios * code review and test name * Delete install_os_provided_python.sh
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