Adding test and cleanup
@@ -40,20 +40,15 @@ outputs:
- {{ compiler("cxx") }}
- {{ compiler("cuda") }} # [linux and cuda_compiler_version != "None"]
- cmake
- - pip
- - python
- - numpy>=1.11.1
- - scikit-build
host:
- python
- - pip
- - numpy>=1.11.1
- scikit-build
- - llvm-openmp # [osx and c_compiler == "clang"]
+ - pip
+ - llvm-openmp # [c_compiler == "clang"]
run:
- python
- numpy>=1.11.1
- - llvm-openmp # [osx and c_compiler == "clang"]
+ - llvm-openmp # [c_compiler == "clang"]
run_constrained:
- goofit-proc * {{ goofit_proc_type }}
- __osx >={{ MACOSX_DEPLOYMENT_TARGET|default("10.9") }} # [osx]
@@ -62,8 +57,14 @@ outputs:
script: build-gpu.sh # [linux and cuda_compiler_version != "None"]
test:
+ requires:
+ - pytest
+ source_files:
+ - python/tests/test_exp.py
imports:
- goofit
+ commands:
+ - $PYTHON -m pytest python/tests/test_exp.py
about:
home: https://github.com/GooFit/GooFit
