Skip to content

Commit

Permalink
[Appveyor] run pytest
Browse files Browse the repository at this point in the history
[actions skip]
  • Loading branch information
KrisThielemans committed Sep 16, 2023
1 parent 792cc37 commit 39a6b50
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,13 @@ build_script:
- for /D %%d in (C:\Miniconda*-x64) do set MINICONDA=%%d
- echo Using Miniconda %MINICONDA%
- "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%MINICONDA%\\Library\\bin;%PATH%"
- "set PYTHON=MINICONDA%\\python.exe"
# install parallelproj and Python stuff
- conda install -c conda-forge -yq libparallelproj swig numpy pytest
- mkdir build
- mkdir install
- cd build
- cmake.exe .. -DCMAKE_INSTALL_PREFIX="C:\projects\stir\install" -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DCMAKE_CONFIGURATION_TYPES=%CONFIGURATION% -DSTIR_OPENMP:BOOL=ON -DBUILD_DOCUMENTATION:BOOL=OFF -DBUILD_SWIG_PYTHON:BOOL=ON -DPython_EXECUTABLE="%MINICONDA%\python.exe"
- cmake.exe .. -DCMAKE_INSTALL_PREFIX="C:\projects\stir\install" -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DCMAKE_CONFIGURATION_TYPES=%CONFIGURATION% -DSTIR_OPENMP:BOOL=ON -DBUILD_DOCUMENTATION:BOOL=OFF -DBUILD_SWIG_PYTHON:BOOL=ON -DPython_EXECUTABLE="%PYTHON%"
- cmake.exe --build . --config %CONFIGURATION%
- cmake.exe --build . --target install --config %CONFIGURATION%

Expand All @@ -49,3 +50,5 @@ test_script:
- ctest --output-on-failure -C %CONFIGURATION%
- cd ..\recon_test_pack
- run_tests --nointbp "C:\projects\stir\install\bin\"
- cd ..\src
- "%PYTHON% -m pytest ."

0 comments on commit 39a6b50

Please sign in to comment.