aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/test.yaml8
-rw-r--r--collection/dotnet/test.sh9
2 files changed, 15 insertions, 2 deletions
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index 8d3e5ff..b4ffad7 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -9,8 +9,12 @@ on:
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: Invoke devcontainer-cli features-test
- run: npx --yes ./dev-containers-cli-0.1.0.tgz features-test -c `pwd`/collection -f go
+ - name: Invoke CLI testing ${{ matrix.features }} against ${{ matrix.baseImage }}
+ run: npx --yes ./dev-containers-cli-0.1.0.tgz features-test -c `pwd`/collection -f ${{ matrix.features }}
diff --git a/collection/dotnet/test.sh b/collection/dotnet/test.sh
new file mode 100644
index 0000000..cdaa50a
--- /dev/null
+++ b/collection/dotnet/test.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+set -e
+
+echo 'Testing dotnet!'
+
+dotnet --list-sdks
+
+echo 'Done!' \ No newline at end of file