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:
46
46
- sh scripts/download-semaphore.sh
47
47
48
48
script :
49
- - ./scripts/runtox.sh
49
+ - coverage erase
50
+ - ./scripts/runtox.sh '' --cov=sentry_sdk --cov-append --cov-report=
50
51
- codecov
51
52
52
53
notifications :
Original file line number Diff line number Diff line change 1
1
#! /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
+
2
7
if [ -z " $1 " ]; then
3
8
searchstring=" $( echo py$TRAVIS_PYTHON_VERSION | sed -e ' s/pypypy/pypy/g' -e ' s/-dev//g'
8000
) "
4
9
else
5
10
searchstring=" $1 "
6
11
fi
7
12
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 =
77
77
pypy: pypy
78
78
79
79
commands =
80
- py.test {env:TESTPATH} -- cov =sentry_sdk {posargs}
80
+ py.test {env:TESTPATH} {posargs}
81
81
82
82
[testenv:linters]
83
83
commands =
You can’t perform that action at this time.
0 commit comments