diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 1229acc93..584c617b4 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -159,3 +159,6 @@ if(NOT CMAKE_VERSION VERSION_LESS 3.1) pybind11_add_build_test(installed_target INSTALL) endif() endif() + +# Run all the tests +add_custom_target(check DEPENDS pytest test_cmake_build)