Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torchani
Commits
ed1c69df
Unverified
Commit
ed1c69df
authored
Oct 29, 2018
by
Gao, Xiang
Committed by
GitHub
Oct 29, 2018
Browse files
Add test coverage (#129)
parent
12c846d2
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
2 deletions
+9
-2
Dockerfile
Dockerfile
+1
-1
codefresh.yml
codefresh.yml
+2
-1
setup.cfg
setup.cfg
+5
-0
setup.py
setup.py
+1
-0
No files found.
Dockerfile
View file @
ed1c69df
FROM
zasdfgbnm/pytorch-master
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
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
COPY
. /torchani
RUN
cd
torchani
&&
pip
install
.
RUN
cd
torchani
&&
pip
install
.
RUN
cd
torchani
&&
pip2
install
.
RUN
cd
torchani
&&
pip2
install
.
codefresh.yml
View file @
ed1c69df
...
@@ -18,8 +18,9 @@ steps:
...
@@ -18,8 +18,9 @@ steps:
image
:
'
${{BuildTorchANI}}'
image
:
'
${{BuildTorchANI}}'
commands
:
commands
:
-
find . -name '*.pyc' -delete
-
find . -name '*.pyc' -delete
-
python setup.py test
-
python setup.py
nose
test
s
# - python2 setup.py test
# - python2 setup.py test
-
codecov
Tools
:
Tools
:
image
:
'
${{BuildTorchANI}}'
image
:
'
${{BuildTorchANI}}'
...
...
setup.cfg
0 → 100644
View file @
ed1c69df
[nosetests]
verbosity=3
detailed-errors=1
with-coverage=1
cover-package=torchani
\ No newline at end of file
setup.py
View file @
ed1c69df
...
@@ -22,6 +22,7 @@ setup_attrs = {
...
@@ -22,6 +22,7 @@ setup_attrs = {
'tensorboardX'
,
'tensorboardX'
,
'tqdm'
,
'tqdm'
,
'ase'
,
'ase'
,
'coverage'
,
],
],
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment