Skip to content

Commit

Permalink
python3.pkgs.muscima: Run checks in a separate derivation
Browse files Browse the repository at this point in the history
  • Loading branch information
adisbladis committed Jul 16, 2024
1 parent 8d16281 commit b315c18
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions pkgs/development/python-modules/muscima/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,18 @@ buildPythonPackage {
matplotlib
];

nativeCheckInputs = [ pytestCheckHook ];
separateChecks = true;

disabledTestPaths = [
# They hard-code the path to the dataset and expect you to edit the test to update it to your value
"test/test_dataset.py"
];
checkArgs = {
nativeCheckInputs = [
pytestCheckHook
];

disabledTestPaths = [
# They hard-code the path to the dataset and expect you to edit the test to update it to your value
"test/test_dataset.py"
];
};

meta = with lib; {
description = "Tools for working with the MUSCIMA++ dataset of handwritten music notation";
Expand Down

0 comments on commit b315c18

Please sign in to comment.