File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,8 @@ install:
4646 - sh scripts/download-semaphore.sh
4747
4848script :
49- - ./scripts/runtox.sh
49+ - coverage erase
50+ - ./scripts/runtox.sh '' --cov=sentry_sdk --cov-append --cov-report=
5051 - codecov
5152
5253notifications :
Original file line number Diff line number Diff line change 11#! /bin/bash
2+ set -xe
3+
4+ # Usage: sh scripts/runtox.sh py3.7 <pytest-args>
5+ # Runs all environments with substring py3.7 and the given arguments for pytest
6+
27if [ -z " $1 " ]; then
38 searchstring=" $( echo py$TRAVIS_PYTHON_VERSION | sed -e ' s/pypypy/pypy/g' -e ' s/-dev//g' ) "
49else
510 searchstring=" $1 "
611fi
712
8- exec tox -e $( tox -l | grep $searchstring | tr ' \n' ' ,' )
13+ exec tox -e $( tox -l | grep $searchstring | tr ' \n' ' ,' ) -- " ${ @: 2} "
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ basepython =
7777 pypy: pypy
7878
7979commands =
80- py.test {env:TESTPATH} -- cov =sentry_sdk {posargs}
80+ py.test {env:TESTPATH} {posargs}
8181
8282[testenv:linters]
8383commands =
You can’t perform that action at this time.
0 commit comments