diff options
author | Josh Spicer <joshspicer@github.com> | 2022-06-03 17:46:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-03 17:46:25 +0300 |
commit | c12a205ab8e195541acfe0cb654b4888e16ea05c (patch) | |
tree | a1a45ac7dec9f31fa62972a65414b6d6fd1fd60d /test-scenarios | |
parent | 283b8e1f8f5dec9e54199c107e772ce56683769e (diff) |
Pass options via environment variables (#39)
* up to docker-in-docker converted
* first pass at the rest of the features (and bash linting and updated CLI
* move shell linter to own file
* rename feature.json -> devcontainer-feature.json
* continue on error
* continue on error in right spot
* formatting
* fix AZ_VERSION
* update python
* restore variable name
* update linter actions, fix dind/dfd/desktop scripts, add test-scenaerios
* add tree because I like tree
* glob for shell linter
* fix test-scenarios
* shell linter
* more shell helper
Diffstat (limited to 'test-scenarios')
-rw-r--r-- | test-scenarios/install_python_twice.sh | 7 | ||||
-rw-r--r-- | test-scenarios/scenarios.json | 9 |
2 files changed, 10 insertions, 6 deletions
diff --git a/test-scenarios/install_python_twice.sh b/test-scenarios/install_python_twice.sh index 9750ddd..911ee54 100644 --- a/test-scenarios/install_python_twice.sh +++ b/test-scenarios/install_python_twice.sh @@ -5,11 +5,10 @@ set -e # Optional: Import test library source dev-container-features-test-lib -# Definition specific tests -check "version" python --version +check "version 3.9 installed" ls -1 /usr/local/python/ | grep 3.9 +check "version 3.8 installed" ls -1 /usr/local/python/ | grep 3.8 -# ... -# ... +check "3.9 alias to python on path" python --version | grep 3.9 # Report result reportResults diff --git a/test-scenarios/scenarios.json b/test-scenarios/scenarios.json index a4d3fa2..e97b853 100644 --- a/test-scenarios/scenarios.json +++ b/test-scenarios/scenarios.json @@ -4,11 +4,16 @@ "features": [ { "id": "python", - "version": "3.8" + "options": { + "version": "3.8" + } }, { "id": "python", - "version": "3.9" + "options": { + "version": "3.9", + "overrideDefaultVersion": true + } } ] } |