Skip to content

Commit 3ae6ea4

Browse files
committed
MODIN: fix samples testing in CI
Signed-off-by: Dmitry Chigarev <[email protected]>
1 parent c178b67 commit 3ae6ea4

File tree

1 file changed

+10
-3
lines changed
  • AI-and-Analytics/Getting-Started-Samples/IntelModin_GettingStarted

1 file changed

+10
-3
lines changed

AI-and-Analytics/Getting-Started-Samples/IntelModin_GettingStarted/sample.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,18 @@
1010
"ciTests": {
1111
"linux": [
1212
{
13-
"env": ["source /opt/intel/oneapi/setvars.sh --force", "conda create -n aikit-modin-test -c intel -c conda-forge matplotlib runipy intel-aikit-modin", "source activate aikit-modin-test"],
13+
"env": [
14+
"set -e # Terminate the script on first error",
15+
"source $(conda info --base)/etc/profile.d/conda.sh # Bypassing conda's disability to activate environments inside a bash script: https://github.com/conda/conda/issues/7980",
16+
"conda create -y -n intel-aikit-modin intel-aikit-modin -c intel",
17+
"conda activate intel-aikit-modin",
18+
"pip install -r requirements.txt # Installing notebook's dependencies",
19+
"pip install runipy # Installing 'runipy' for extended abilities to execute the notebook"
20+
],
1421
"id": "Intel_Modin_GS_py",
1522
"steps": [
16-
"runipy IntelModin_GettingStarted.ipynb"
17-
]
23+
"runipy IntelModin_GettingStarted.ipynb"
24+
]
1825
}
1926
]
2027
}

0 commit comments

Comments
 (0)