"server/vscode:/vscode.git/clone" did not exist on "eb08b9faeff36e74c6929f3ca7d64e57efaacc15"
Unverified Commit ed1c69df authored by Gao, Xiang's avatar Gao, Xiang Committed by GitHub
Browse files

Add test coverage (#129)

parent 12c846d2
FROM zasdfgbnm/pytorch-master
RUN pacman -Sy --noconfirm python-sphinx python2-sphinx python-tqdm python2-tqdm python2-matplotlib python-matplotlib python-pillow python2-pillow flake8
RUN pip install tensorboardX sphinx-gallery ase && pip2 install tensorboardX sphinx-gallery ase
RUN pip install tensorboardX sphinx-gallery ase codecov nose && pip2 install tensorboardX sphinx-gallery ase codecov nose
COPY . /torchani
RUN cd torchani && pip install .
RUN cd torchani && pip2 install .
......@@ -18,8 +18,9 @@ steps:
image: '${{BuildTorchANI}}'
commands:
- find . -name '*.pyc' -delete
- python setup.py test
- python setup.py nosetests
# - python2 setup.py test
- codecov
Tools:
image: '${{BuildTorchANI}}'
......
[nosetests]
verbosity=3
detailed-errors=1
with-coverage=1
cover-package=torchani
\ No newline at end of file
......@@ -22,6 +22,7 @@ setup_attrs = {
'tensorboardX',
'tqdm',
'ase',
'coverage',
],
}
......
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