Skip to content

Commit 9474029

Browse files
authored
Merge pull request #629 from openml/leaner_windows_tests
Faster tests on AppVeyor
2 parents 19c1edd + b9b1c5a commit 9474029

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

appveyor.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,19 @@ install:
3232
# XXX: setuptools>23 is currently broken on Win+py3 with numpy
3333
# (https://github.com/pypa/setuptools/issues/728)
3434
- conda update --all --yes setuptools=23
35-
- conda install --yes nb_conda nb_conda_kernels
3635

3736
# Install the build and runtime dependencies of the project.
3837
- "cd C:\\projects\\openml-python"
39-
- conda install --quiet --yes scikit-learn=0.18.2
40-
- conda install --quiet --yes mock numpy scipy pytest requests nbformat python-dateutil nbconvert pandas matplotlib seaborn
38+
- conda install --quiet --yes scikit-learn=0.20.0 nb_conda nb_conda_kernels numpy scipy requests nbformat python-dateutil nbconvert pandas matplotlib seaborn
4139
- pip install liac-arff xmltodict oslo.concurrency
40+
# Packages for (parallel) unit tests with pytest
41+
- pip install pytest pytest-xdist pytest-timeout
4242
- "pip install .[test]"
43-
43+
4444

4545
# Not a .NET project, we build scikit-learn in the install step instead
4646
build: false
4747

4848
test_script:
4949
- "cd C:\\projects\\openml-python"
50-
- "%CMD_IN_ENV% pytest"
50+
- "%CMD_IN_ENV% pytest -n 4 --timeout=600 --timeout-method=thread -sv --ignore='test_OpenMLDemo.py'"

0 commit comments

Comments
 (0)