From 8cadbdf1d2e46b836e620bcc8e8bcdc4275d20a7 Mon Sep 17 00:00:00 2001 From: lin bin <756691769@qq.com> Date: Wed, 12 Aug 2020 20:32:45 +0800 Subject: [PATCH] fix break windows local and remote pipelines (#2785) * fix break windows local and remote pipelines * python os to separate platform * Update integration_tests.yml Co-authored-by: Yuge Zhang <Yuge.Zhang@microsoft.com> (cherry picked from commit f6991e8a3901ca277e33ac83f29212244da23c1b) --- test/config/integration_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/config/integration_tests.yml b/test/config/integration_tests.yml index 4078321479..dfd34e9ae2 100644 --- a/test/config/integration_tests.yml +++ b/test/config/integration_tests.yml @@ -158,7 +158,7 @@ testCases: configFile: test/config/examples/sklearn-regression.yml setExperimentIdtoVar: $resumeExpId # for subfolder in codedir test - launchCommand: mkdir -p ../examples/trials/sklearn/regression/subfolder && touch ../examples/trials/sklearn/regression/subfolder/subfile && nnictl create --config $configFile --debug + launchCommand: python3 -c "import os; os.makedirs('../examples/trials/sklearn/regression/subfolder', exist_ok=True); open('../examples/trials/sklearn/regression/subfolder/subfile', 'a').close()" && nnictl create --config $configFile --debug # Experiment resume test part 2 - name: nnictl-resume-2