restructure and update cli (#11)

* restructure and update cli

* typo
This commit is contained in:
Josh Spicer 2022-05-12 16:10:51 -04:00 committed by GitHub
parent 2707a37ca0
commit 3a277ad757
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
59 changed files with 26 additions and 18 deletions

View file

@ -16,5 +16,5 @@ jobs:
steps:
- uses: actions/checkout@v2
- 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 }}
- name: " Testing '${{ matrix.features }}' against '${{ matrix.baseImage }}'"
run: npx --yes ./dev-containers-cli-0.1.0.tgz features-test -f ${{ matrix.features }} -i ${{ matrix.baseImage }} -d `pwd`

View file

@ -1,9 +0,0 @@
#!/bin/bash
set -e
echo 'Testing dotnet!'
dotnet --list-sdks
echo 'Done!'

View file

@ -1,7 +0,0 @@
#!/bin/bash
set -e
go version
echo 'Done!'

Binary file not shown.

13
test/dotnet/test.sh Normal file
View file

@ -0,0 +1,13 @@
#!/bin/bash
set -e
# Import test library
source featuresTest.library.sh root
# Definition specific tests
check "dotnet" dotnet --info
check "sdks" dotnet --list-sdks
# Report result
reportResults

11
test/go/test.sh Normal file
View file

@ -0,0 +1,11 @@
#!/bin/bash
set -e
# Import test library
source featuresTest.library.sh root
check "version" go version
# Report result
reportResults