Skip to content

Commit 1f66521

Browse files
committed
Fix pytest problem in windows build
1 parent 7bf615f commit 1f66521

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/windows_noetic_build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
- name: Build
2424
shell: cmd
2525
run: |
26+
C:/opt/ros/noetic/x64/python.exe -m pip uninstall pytest-rerunfailures
2627
choco sources add -n=roswin -s https://aka.ms/ros/public --priority 1
2728
choco install ros-%ROS_DISTRO%-desktop_full -y --no-progress
2829
choco install swig
@@ -38,7 +39,7 @@ jobs:
3839
3940
rosdep install -q --from-paths . --ignore-src -y
4041
41-
catkin_make_isolated --install --use-nmake --force-cmake --only-pkg-with-deps tesseract_python --cmake-args -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=C:/opt/ros/noetic/x64/python.exe -DPYTHON_LIBRARY=C:/opt/ros/noetic/x64/Lib/python38.lib -DINSTALL_OMPL=ON -DINSTALL_OMPL_TAG=master -DBUILD_IPOPT=OFF -DBUILD_SNOPT=OFF -DINSTALL_FCL=ON -DINSTALL_BULLET=ON -DNO_OPENCL=ON
42+
catkin_make_isolated --install --use-ninja --force-cmake --only-pkg-with-deps tesseract_python --cmake-args -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=C:/opt/ros/noetic/x64/python.exe -DPYTHON_LIBRARY=C:/opt/ros/noetic/x64/Lib/python38.lib -DINSTALL_OMPL=ON -DINSTALL_OMPL_TAG=master -DBUILD_IPOPT=OFF -DBUILD_SNOPT=OFF -DINSTALL_FCL=ON -DINSTALL_BULLET=ON -DNO_OPENCL=ON
4243
call "%CD%\install_isolated\setup.bat"
4344
set TESSERACT_SUPPORT_DIR=%CD%\src\tesseract\tesseract_support
4445
C:/opt/ros/noetic/x64/python.exe -m pytest src\tesseract_python\tesseract_python

0 commit comments

Comments
 (0)