diff --git a/.github/workflows/windows-conda-clang.yml b/.github/workflows/windows-conda-clang.yml index 7d7a8d87a3f533feaca43172efb296953d287f80..2c76d7dcfd3d3381f767b1fb9d2468c83aa1397f 100644 --- a/.github/workflows/windows-conda-clang.yml +++ b/.github/workflows/windows-conda-clang.yml @@ -65,7 +65,7 @@ jobs: if errorlevel 1 exit 1 :: Build and Install - cmake --build . --config Release --target install + cmake --build . --config Release --target all if errorlevel 1 exit 1 :: Testing @@ -73,8 +73,7 @@ jobs: if errorlevel 1 exit 1 :: Test Python import - cd .. - python -c "import coal" + cmake -E env PYTHONPATH=%cd%\python python -c "import coal" if errorlevel 1 exit 1 check: diff --git a/.github/workflows/windows-conda-v142.yml b/.github/workflows/windows-conda-v142.yml index e1191d014e69b187f0c709c8ce441e830b8bbb28..d4dddab19ab8e514e220c78af0d70a7f956b3d46 100644 --- a/.github/workflows/windows-conda-v142.yml +++ b/.github/workflows/windows-conda-v142.yml @@ -62,7 +62,7 @@ jobs: if errorlevel 1 exit 1 :: Build and Install - cmake --build . --config Release --target install + cmake --build . --config Release --target all if errorlevel 1 exit 1 :: Testing @@ -70,8 +70,7 @@ jobs: if errorlevel 1 exit 1 :: Test Python import - cd .. - python -c "import coal" + cmake -E env PYTHONPATH=%cd%\python python -c "import coal" if errorlevel 1 exit 1 check: