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:
Mauricio Vásquez
2020-04-09 12:06:59 -05:00
committed by GitHub
parent 0cf7ce2874
commit fc4620c5b8
12 changed files with 1161 additions and 21 deletions

19
scripts/coverage.sh Executable file
View 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