-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dcm2niix: add DICOM validation tests #170299
base: master
Are you sure you want to change the base?
Conversation
@@ -55,6 +56,42 @@ stdenv.mkDerivation rec { | |||
"-DZLIB_IMPLEMENTATION=Cloudflare" | |||
]; | |||
|
|||
passthru.tests = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's worth surfacing that the upstream project fetches the latest version of these repositories every CI run:
installPhase = '' | ||
touch "$out" | ||
''; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is required for Nix to think the tests are successful. Let me know if there is a more idiomatic way of writing a test case.
@ofborg eval |
9e17e86
to
ba8fd02
Compare
ba8fd02
to
c9019ec
Compare
Description of changes
Add the DICOM validation tests suggested by @neurolabusc that the upstream runs as part of their Travis CI build.
Resolves d3b-center/image-deid-etl#19
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes