Skip to content

Commit

Permalink
Run tests in spec file again
Browse files Browse the repository at this point in the history
  • Loading branch information
LecrisUT committed Jan 28, 2025
1 parent 5141033 commit b8a4f6d
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .distro/python-scikit-build-core.spec
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
# Testing dependencies not satisfied on epel
# build, cattrs, hatch-fancy-pypi-readme, pytest-subprocess
%if 0%{?el10}
%bcond_with tests
%else
%bcond_without tests
%endif

%global debug_package %{nil}

Name: python-scikit-build-core
Expand Down Expand Up @@ -86,10 +78,8 @@ cp -p src/scikit_build_core/_vendor/pyproject_metadata/LICENSE LICENSE-pyproject

%check
%pyproject_check_import
%if %{with tests}
%pytest \
-m "not network"
%endif


%files -n python3-scikit-build-core -f %{pyproject_files}
Expand Down

0 comments on commit b8a4f6d

Please sign in to comment.