Commit Graph

29 Commits

Author SHA1 Message Date
Roman Yurchak 8068b97e1d MNT Only checks warnings on latest depedendencies versions in CI (#12048) 2018-09-17 03:12:33 -07:00
Olivier Grisel 242410f7cd
MAINT make pytest collection ignore folders with Python scripts (#12011)
Some IDEs such as VS Code use the pytest command to collect all the tests of
the workspace in the background. This can cause unexpected execution of
arbitrary Python scripts in the workspace (examples, benchmarks...).

The doc folder is also ignored because it has python scripts for sphinx
along with copies of the examples.

To safely run pytest in the doc folder, we need to used the find command
to find all "*.rst" files as done in the project Makefile.
2018-09-05 17:33:06 +02:00
Andreas Mueller 8e2c2aa35d
raise DeprecationWarnings and FutureWarnings as errors (#11570)
Towards #11252.
In the end we'd like to make these errors so we can keep this cleaner in the future.
2018-07-17 15:31:45 -05:00
Olivier Grisel 06c543f0da MAINT cleanup setup.cfg 2018-07-15 17:42:41 +02:00
Roman Yurchak 27a804d9a8 MAINT Use -rs pytest option to show a summary of skipped tests (#11013) 2018-04-23 09:10:59 +10:00
Joris Van den Bossche 312f64053d TST: display reason of skipped tests by default (#10946) 2018-04-11 11:00:10 +02:00
Loïc Estève cc50b90034 MAINT: do not collect any tests in externals. 2018-01-18 10:49:33 +01:00
Loïc Estève ddaafa6206
MAINT: do not run tests in sklearn/externals (#10486) 2018-01-17 15:24:57 +01:00
Loïc Estève e7e05d844f [MRG+1] Remove nose from CIs and documentation (#9840) 2017-11-16 20:20:35 +01:00
dilutedsauce 62eda82f1f [MRG] move flake8 options from flake8_diff.sh to setup.cfg (#10080)
Also add examples/.flake8 for examples specific flake8 configuration
2017-11-14 13:26:39 +01:00
Loïc Estève 0ec6664ff1 [MRG] Make tests runnable with pytest without error (#8246)
* Make tests runnable with pytest without error.

Errors were due to pytest quirks with (deprecated) yield support.

* Add pytest build on Travis

and tweak pytest settings in setup.cfg

* Tweak comment
2017-02-20 13:08:09 +01:00
Loïc Estève 876f12359a Do not ignore files starting with _ in nose
By default, files starting with _ and setup.py are ignored by nose. This
causes doctests to be skipped in _*.py modules.
2016-03-11 19:27:40 +01:00
seales 0485ada58b General spelling fixes 2015-12-16 09:46:42 -08:00
Olivier Grisel 9825d173ee MAINT make it possible to use wheelhouse-uploader
wheelhouse-uploader makes it possible to leverage our CI infrastructure
(travis and appveyor) to automate the generation of binary packages
for OSX and windows (both .exe and .whl packages).

The cloud containers that are used to store the build artifacts of the
CI workers are configured in the setup.cfg file.

More details at: https://github.com/ogrisel/wheelhouse-uploader
2014-12-29 18:48:49 +01:00
Olivier Grisel dab017d8d5 MAINT: run tests on files with the exec bit 2014-06-02 19:45:12 +02:00
Olivier Grisel b65e882753 typo 2013-07-28 10:37:02 +02:00
Olivier Grisel b669f82d22 Sample compiler config for windows 2013-07-28 10:37:01 +02:00
Olivier Grisel 1e595d9591 Remove doctest-options from setup.cfg as not supported in old version of nose 2012-12-01 11:02:13 +01:00
Olivier Grisel d454c13f9f FIX #1417: move nosetests configuration parameter to setup.cfg 2012-12-01 10:56:12 +01:00
Vlad Niculae 6a1f2b211f FIX: wrong cover-package, misleading coverage as 100% 2012-05-07 16:33:04 +03:00
Fabian Pedregosa 1881139298 Do not execute test coverage by default.
Also add a test-coverage target in Makefile.
2010-10-14 16:32:23 +02:00
Fabian Pedregosa bc0cfb0208 Update setup.py.
And set verbose=1 for nose tests.
2010-08-23 16:19:39 +02:00
Gael varoquaux 668094e12e TEST: Re-enable external tests.
We do not wanted untested code shipped with the scikit.
2010-08-18 21:30:05 +02:00
Fabian Pedregosa 2c8188f25e run all tests suite through nose. 2010-08-18 21:27:12 +02:00
Matthieu Brucher 505738de39 Fixed a typo 2010-08-19 03:26:48 +08:00
Olivier Grisel c36e0f7461 exclude scikits.learn.external package from top level nosetests env 2010-07-31 14:52:32 +02:00
Gael varoquaux af5d0ab792 Add a setup.cfg to specify default nosetests behavior. 2010-07-27 11:09:34 +02:00
Fabian Pedregosa 2a1b83d186 Building the modules inplace broke installation of binary modules.
Fix this by removing the setup.cfg file.

From: Fabian Pedregosa <fabian.pedregosa@inria.fr>

git-svn-id: https://scikit-learn.svn.sourceforge.net/svnroot/scikit-learn/trunk@394 22fbfee3-77ab-4535-9bad-27d1bd3bc7d8
2010-02-01 09:53:44 +00:00
Fabian Pedregosa 8a2de050a7 Build extensions inplace.
This way developpers can run the test suite in place without having to
install.

From: Fabian Pedregosa <fabian@fseoane.net>

git-svn-id: https://scikit-learn.svn.sourceforge.net/svnroot/scikit-learn/trunk@330 22fbfee3-77ab-4535-9bad-27d1bd3bc7d8
2010-01-06 14:04:41 +00:00