Skip to content

Commit fb85ef1

Browse files
don't halt on first failure
1 parent 1623bcf commit fb85ef1

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

Diff for: packages/python/plotly/tox.ini

+15-15
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@
2424
; PASSING ADDITONAL ARGUMENTS TO TEST COMMANDS
2525
; The {posargs} is tox-specific and passes in any command line args after `--`.
2626
; For example, given the testing command in *this* file:
27-
; pytest {posargs} -x plotly/tests/test_core
27+
; pytest {posargs} plotly/tests/test_core
2828
;
2929
; The following command:
3030
; tox -- -k 'not nodev'
3131
;
3232
; Tells tox to call:
33-
; pytest -k 'not nodev' -x plotly/tests/test_core
33+
; pytest -k 'not nodev' plotly/tests/test_core
3434
;
3535

3636
[tox]
@@ -81,25 +81,25 @@ deps=
8181
basepython={env:PLOTLY_TOX_PYTHON_27:}
8282
commands=
8383
python --version
84-
pytest {posargs} -x plotly/tests/test_core
84+
pytest {posargs} plotly/tests/test_core
8585

8686
[testenv:py35-core]
8787
basepython={env:PLOTLY_TOX_PYTHON_35:}
8888
commands=
8989
python --version
90-
pytest {posargs} -x plotly/tests/test_core
90+
pytest {posargs} plotly/tests/test_core
9191

9292
[testenv:py36-core]
9393
basepython={env:PLOTLY_TOX_PYTHON_36:}
9494
commands=
9595
python --version
96-
pytest {posargs} -x plotly/tests/test_core
96+
pytest {posargs} plotly/tests/test_core
9797

9898
[testenv:py37-core]
9999
basepython={env:PLOTLY_TOX_PYTHON_37:}
100100
commands=
101101
python --version
102-
pytest {posargs} -x plotly/tests/test_core
102+
pytest {posargs} plotly/tests/test_core
103103
pytest {posargs} -x test_init/test_dependencies_not_imported.py
104104
pytest {posargs} -x test_init/test_lazy_imports.py
105105

@@ -111,41 +111,41 @@ commands=
111111
;; Do some coverage reporting. No need to do this for all environments.
112112
; mkdir -p {envbindir}/../../coverage-reports/{envname}
113113
; coverage erase
114-
; coverage run --include="*/plotly/*" --omit="*/tests*" {envbindir}/nosetests {posargs} -x plotly/tests
114+
; coverage run --include="*/plotly/*" --omit="*/tests*" {envbindir}/nosetests {posargs} plotly/tests
115115
; coverage html -d "{envbindir}/../../coverage-reports/{envname}" --title={envname}
116116

117117
[testenv:py27-optional]
118118
basepython={env:PLOTLY_TOX_PYTHON_27:}
119119
commands=
120120
python --version
121-
pytest {posargs} -x plotly/tests/test_core
122-
pytest {posargs} -x plotly/tests/test_optional
121+
pytest {posargs} plotly/tests/test_core
122+
pytest {posargs} plotly/tests/test_optional
123123
pytest _plotly_utils/tests/
124124
pytest plotly/tests/test_io
125125

126126
[testenv:py35-optional]
127127
basepython={env:PLOTLY_TOX_PYTHON_35:}
128128
commands=
129129
python --version
130-
pytest {posargs} -x plotly/tests/test_core
131-
pytest {posargs} -x plotly/tests/test_optional
130+
pytest {posargs} plotly/tests/test_core
131+
pytest {posargs} plotly/tests/test_optional
132132
pytest _plotly_utils/tests/
133133
pytest plotly/tests/test_io
134134

135135
[testenv:py36-optional]
136136
basepython={env:PLOTLY_TOX_PYTHON_36:}
137137
commands=
138138
python --version
139-
pytest {posargs} -x plotly/tests/test_core
140-
pytest {posargs} -x plotly/tests/test_optional
139+
pytest {posargs} plotly/tests/test_core
140+
pytest {posargs} plotly/tests/test_optional
141141
pytest _plotly_utils/tests/
142142
pytest plotly/tests/test_io
143143

144144
[testenv:py37-optional]
145145
basepython={env:PLOTLY_TOX_PYTHON_37:}
146146
commands=
147147
python --version
148-
pytest {posargs} -x plotly/tests/test_core
149-
pytest {posargs} -x plotly/tests/test_optional
148+
pytest {posargs} plotly/tests/test_core
149+
pytest {posargs} plotly/tests/test_optional
150150
pytest _plotly_utils/tests/
151151
pytest plotly/tests/test_io

0 commit comments

Comments
 (0)