Skip to content

Commit

Permalink
Use the custom cmake check target
Browse files Browse the repository at this point in the history
  • Loading branch information
LecrisUT committed Apr 8, 2024
1 parent cbfcfb8 commit dd3c5d2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .distro/pybind11.spec
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,11 @@ sed -i -E 's/,?\s*"ninja[^"]*"//' pyproject.toml


%check
%ctest
%pytest
# %%ctest
# %%pytest
# Cannot use ctest or pytest integration yet. Replicating ci.yaml workflow
# https://github.com/pybind/pybind11/issues/5095
%cmake_build --target check


%files devel
Expand Down

0 comments on commit dd3c5d2

Please sign in to comment.