From 2707a37ca0d4a45c7487f856bf95f8c5e10bce94 Mon Sep 17 00:00:00 2001 From: Josh Spicer Date: Thu, 12 May 2022 12:25:56 -0400 Subject: matrix (#10) * try matrix * quotes --- .github/workflows/test.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to '.github/workflows') 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 }} -- cgit v1.2.3