mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-08-01 06:33:52 +08:00
Add eachdist and move tox to root folder (#29)
Move tox and other configuration files to root folder. Add eachdist to make it easier to handle operations with different packages. The eachdist is taken from opentelemetry but slighty modified to avoid ignoring a given path.
This commit is contained in:
19
scripts/coverage.sh
Executable file
19
scripts/coverage.sh
Executable file
@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
function cov {
|
||||
pytest \
|
||||
--ignore-glob=*/setup.py \
|
||||
--cov ${1} \
|
||||
--cov-append \
|
||||
--cov-branch \
|
||||
--cov-report='' \
|
||||
${1}
|
||||
}
|
||||
|
||||
|
||||
coverage erase
|
||||
|
||||
coverage report
|
||||
coverage xml
|
Reference in New Issue
Block a user