Commit bd2ea530 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt
Browse files

python312Packages.scikit-fmm: run checkPhase hooks, echo check command

parent 1c418186
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -23,8 +23,13 @@ buildPythonPackage rec {
  dependencies = [ numpy ];

  checkPhase = ''
    runHook preCheck
    # "Do not run the tests from the source directory"
    mkdir testdir; cd testdir
    (set -x
      ${python.interpreter} -c "import skfmm, sys; sys.exit(skfmm.test())"
    )
    runHook postCheck
  '';

  meta = with lib; {