diff options
author | JP Ungaretti <git@jungaretti.com> | 2023-03-03 04:10:12 +0300 |
---|---|---|
committer | JP Ungaretti <git@jungaretti.com> | 2023-03-03 04:10:12 +0300 |
commit | 4b1855cc6c89fa8a1073b4a718904743615746b9 (patch) | |
tree | 00e111e09923aeda9f0c685f4e71e8a47f29ee55 /test/dotnet | |
parent | 2b64508a1ab9f454741b24d504228db8cc0374f1 (diff) |
Add lts test
Diffstat (limited to 'test/dotnet')
-rw-r--r-- | test/dotnet/install_dotnet_lts.sh | 11 | ||||
-rw-r--r-- | test/dotnet/scenarios.json | 8 |
2 files changed, 19 insertions, 0 deletions
diff --git a/test/dotnet/install_dotnet_lts.sh b/test/dotnet/install_dotnet_lts.sh new file mode 100644 index 0000000..599d5dd --- /dev/null +++ b/test/dotnet/install_dotnet_lts.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +set -e + +source dev-container-features-test-lib + +./test.sh + +check "lts version installed" bash -c 'test "$(dotnet --list-sdks | wc -l)" -eq 1' + +reportResults diff --git a/test/dotnet/scenarios.json b/test/dotnet/scenarios.json index 3e930df..06d7e8d 100644 --- a/test/dotnet/scenarios.json +++ b/test/dotnet/scenarios.json @@ -8,6 +8,14 @@ } } }, + "install_dotnet_lts": { + "image": "ubuntu:focal", + "features": { + "dotnet": { + "version": "latest" + } + } + }, "install_dotnet_3": { "image": "ubuntu:focal", "features": { |