Skip to content

Commit d6ce064

Browse files
committed
run with pytest
1 parent 607f4c5 commit d6ce064

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

appveyor.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,10 @@ environment:
4040

4141
install:
4242
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
43-
- git submodule update --init --recursive
4443

4544
build: off
4645

4746
test_script:
4847
- "%CMD_IN_ENV% python -m pip install -U pip setuptools wheel"
4948
- "%CMD_IN_ENV% python -m pip install -rrequirements_dev.txt"
50-
- "%CMD_IN_ENV% python setup.py build_ext --inplace"
51-
- "%CMD_IN_ENV% python -m nose -v"
52-
53-
after_test:
54-
- "%CMD_IN_ENV% python setup.py bdist_wheel"
55-
56-
artifacts:
57-
- path: dist\*
49+
- "%CMD_IN_ENV% python -m pytest -v zarr"

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ setenv =
1414
py27: PY_MAJOR_VERSION = py2
1515
commands =
1616
python -c 'import glob; import shutil; import os; [(shutil.rmtree(d) if os.path.isdir(d) else os.remove(d) if os.path.isfile(d) else None) for d in glob.glob("./example*")]'
17-
py27,py34,py35: nosetests -v --with-coverage --cover-erase --cover-package=zarr zarr
18-
py36: nosetests -v --with-coverage --cover-erase --cover-package=zarr --with-doctest --doctest-options=+NORMALIZE_WHITESPACE,+ELLIPSIS zarr
17+
py27,py34,py35: pytest -v --cov=zarr zarr
18+
py36: pytest -v --cov=zarr --doctest-modules zarr
1919
coverage report -m
2020
py36: python -m doctest -o NORMALIZE_WHITESPACE -o ELLIPSIS docs/tutorial.rst docs/spec/v2.rst
2121
py36: flake8 --max-line-length=100 zarr

0 commit comments

Comments
 (0)