diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/github-cli/install_git_cli_from_release.sh | 11 | ||||
-rw-r--r-- | test/github-cli/scenarios.json | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/test/github-cli/install_git_cli_from_release.sh b/test/github-cli/install_git_cli_from_release.sh new file mode 100644 index 0000000..d81c1c4 --- /dev/null +++ b/test/github-cli/install_git_cli_from_release.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +set -e + +# Optional: Import test library +source dev-container-features-test-lib + +check "version" gh --version + +# Report result +reportResults diff --git a/test/github-cli/scenarios.json b/test/github-cli/scenarios.json new file mode 100644 index 0000000..d41019a --- /dev/null +++ b/test/github-cli/scenarios.json @@ -0,0 +1,11 @@ +{ + "install_git_cli_from_release": { + "image": "ubuntu:focal", + "features": { + "github-cli": { + "version": "latest", + "installDirectlyFromGitHubRelease": "false" + } + } + } +}
\ No newline at end of file |