Commit f1d34c4c authored by Martin Reinecke's avatar Martin Reinecke

faster CI, fewer warnings

parent 1145c9c3
Pipeline #12731 passed with stage
in 4 minutes and 40 seconds
......@@ -16,35 +16,18 @@ before_script:
- pip install --upgrade -r ci/requirements.txt
test_min:
test_all:
stage: test
script:
- python setup.py build_ext --inplace
- nosetests -vv
test_mpi:
stage: test
script:
- ci/install_pyHealpix.sh
- ci/install_mpi4py.sh
- python setup.py build_ext --inplace
- nosetests -vv
test_mpi_fftw:
stage: test
script:
- ci/install_pyHealpix.sh
- ci/install_mpi4py.sh
- ci/install_pyfftw.sh
- python setup.py build_ext --inplace
- nosetests -vv
test_mpi_fftw_hdf5:
stage: test
script:
- ci/install_pyHealpix.sh
- ci/install_mpi4py.sh
- ci/install_pyfftw.sh
- ci/install_h5py.sh
- python setup.py build_ext --inplace
- nosetests -vv --with-coverage --cover-package=nifty --cover-branches
......
......@@ -433,10 +433,10 @@ class FFTW(Transform):
not all(axis in range(len(val.shape)) for axis in axes):
raise ValueError("Provided axes does not match array shape")
if val.dtype not in (np.float, np.complex):
self.logger.warn("The input array has dtype: %s. The FFT will "
"be performed at double precision." %
str(val.dtype))
#if val.dtype not in (np.float, np.complex):
# self.logger.warn("The input array has dtype: %s. The FFT will "
# "be performed at double precision." %
# str(val.dtype))
# If the input is a numpy array we transform it locally
if not isinstance(val, distributed_data_object):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment