-
-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add back missing
run_test.bat
(#209)
automerged PR by conda-forge/automerge-action
- Loading branch information
Showing
3 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
:: clear conda stuff from parent process | ||
SET CONDA_SHLVL= | ||
SET _CE_CONDA= | ||
SET _CE_M= | ||
SET _CONDA_EXE= | ||
|
||
:: load shell interface | ||
:: CALL is necessary because conda is a bat script, | ||
:: running bat files within other bat files requires CALL or else | ||
:: the outer script (our test script) exits when the inner completes | ||
CALL %PREFIX%\condabin\conda_hook.bat | ||
|
||
:: display conda details | ||
CALL conda info --all | ||
|
||
:: create, activate, and deactivate a conda environment | ||
CALL conda create --yes --prefix ".\built-conda-test-env" "m2-patch" | ||
IF NOT %ERRORLEVEL% == 0 EXIT /B 1 | ||
|
||
CALL conda activate ".\built-conda-test-env" | ||
ECHO "CONDA_PREFIX=%CONDA_PREFIX%" | ||
|
||
IF NOT "%CONDA_PREFIX%" == "%CD%\built-conda-test-env" EXIT /B 1 | ||
%CONDA_PREFIX%\Library\usr\bin\patch.exe --version | ||
IF NOT %ERRORLEVEL% == 0 EXIT /B 1 | ||
|
||
CALL conda deactivate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters