python3Packages.spacy-transformers: add passthru annotation test
This commit is contained in:
committed by
Jonathan Ringer
parent
51f398613c
commit
636b3581f6
@@ -0,0 +1,23 @@
|
||||
{ stdenv, pytest, spacy_models }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "spacy-transformers-annotation-test";
|
||||
|
||||
src = ./.;
|
||||
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
doCheck = true;
|
||||
|
||||
checkInputs = [ pytest spacy_models.en_core_web_trf ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest annotate.py
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
touch $out
|
||||
'';
|
||||
|
||||
meta.timeout = 60;
|
||||
}
|
||||
Reference in New Issue
Block a user