From 14d98b7795ca6f7333cb168ca7be2fd4baf1a882 Mon Sep 17 00:00:00 2001 From: Samruddhi Khandale Date: Thu, 1 Sep 2022 09:41:22 -0700 Subject: Adds a new Conda Feature (#127) * add conda Feature * addCondaForge --- test/conda/install_conda.sh | 12 ++++++++++++ test/conda/scenarios.json | 11 +++++++++++ test/conda/test.sh | 12 ++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 test/conda/install_conda.sh create mode 100644 test/conda/scenarios.json create mode 100755 test/conda/test.sh (limited to 'test') diff --git a/test/conda/install_conda.sh b/test/conda/install_conda.sh new file mode 100644 index 0000000..92fd2e0 --- /dev/null +++ b/test/conda/install_conda.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +set -e + +# Optional: Import test library +source dev-container-features-test-lib + +check "conda" conda --version | grep 4.12.0 +check "conda-forge" conda config --show channels | grep conda-forge + +# Report result +reportResults diff --git a/test/conda/scenarios.json b/test/conda/scenarios.json new file mode 100644 index 0000000..9cc2fc1 --- /dev/null +++ b/test/conda/scenarios.json @@ -0,0 +1,11 @@ +{ + "install_conda": { + "image": "ubuntu:focal", + "features": { + "conda": { + "version": "4.12.0", + "addCondaForge": "true" + } + } + } +} diff --git a/test/conda/test.sh b/test/conda/test.sh new file mode 100755 index 0000000..69120d9 --- /dev/null +++ b/test/conda/test.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +set -e + +# Optional: Import test library +source dev-container-features-test-lib + +# Definition specific tests +check "version" conda --version + +# Report result +reportResults -- cgit v1.2.3