From ffb40deb5251a524da79cbfbdb0e16af6b658802 Mon Sep 17 00:00:00 2001 From: Rob Lourens Date: Tue, 3 Aug 2021 12:15:06 -0700 Subject: Build ipynb extension before integration test --- scripts/test-integration.bat | 6 ++++++ scripts/test-integration.sh | 1 + 2 files changed, 7 insertions(+) (limited to 'scripts') diff --git a/scripts/test-integration.bat b/scripts/test-integration.bat index 16a72eea7d1..51aada7b18b 100644 --- a/scripts/test-integration.bat +++ b/scripts/test-integration.bat @@ -31,6 +31,7 @@ if "%INTEGRATION_TEST_ELECTRON_PATH%"=="" ( compile-extension:html-language-features-server^ compile-extension:json-language-features-server^ compile-extension:git^ + compile-extension:ipynb^ compile-extension-media :: Configuration for more verbose output @@ -77,6 +78,11 @@ mkdir %GITWORKSPACE% call "%INTEGRATION_TEST_ELECTRON_PATH%" %GITWORKSPACE% --extensionDevelopmentPath=%~dp0\..\extensions\git --extensionTestsPath=%~dp0\..\extensions\git\out\test --enable-proposed-api=vscode.git %ALL_PLATFORMS_API_TESTS_EXTRA_ARGS% if %errorlevel% neq 0 exit /b %errorlevel% +set IPYNBWORKSPACE=%TEMPDIR%\ipynb-%RANDOM% +mkdir %IPYNBWORKSPACE% +call "%INTEGRATION_TEST_ELECTRON_PATH%" %IPYNBWORKSPACE% --extensionDevelopmentPath=%~dp0\..\extensions\ipynb --extensionTestsPath=%~dp0\..\extensions\ipynb\out\test %ALL_PLATFORMS_API_TESTS_EXTRA_ARGS% +if %errorlevel% neq 0 exit /b %errorlevel% + :: Tests standalone (CommonJS) diff --git a/scripts/test-integration.sh b/scripts/test-integration.sh index ba9b332d7cf..ac836ee5cac 100755 --- a/scripts/test-integration.sh +++ b/scripts/test-integration.sh @@ -39,6 +39,7 @@ else compile-extension:html-language-features-server \ compile-extension:json-language-features-server \ compile-extension:git \ + compile-extension:ipynb \ compile-extension-media # Configuration for more verbose output -- cgit v1.2.3