mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 06:26:51 +00:00
Update python.yaml
This commit is contained in:
parent
118bf9877a
commit
5de60cfc7c
9
.github/workflows/python.yaml
vendored
9
.github/workflows/python.yaml
vendored
@ -30,11 +30,14 @@ jobs:
|
|||||||
|
|
||||||
for module in $(find . -maxdepth 1 -type d -name "thousandeyes-sdk-*" ! -name "thousandeyes-sdk-core" | cut -c 3-); do
|
for module in $(find . -maxdepth 1 -type d -name "thousandeyes-sdk-*" ! -name "thousandeyes-sdk-core" | cut -c 3-); do
|
||||||
pip install -e $module
|
pip install -e $module
|
||||||
coverage run --append -m pytest $module
|
coverage run --source=$module -m pytest $module
|
||||||
|
# Move the .coverage file to a unique name
|
||||||
|
mv .coverage .coverage.$module
|
||||||
done
|
done
|
||||||
|
|
||||||
# Combine coverage data and generate report
|
# Combine all .coverage files
|
||||||
coverage combine
|
coverage combine .coverage.*
|
||||||
|
coverage report
|
||||||
coverage xml
|
coverage xml
|
||||||
|
|
||||||
- name: Get Coverage
|
- name: Get Coverage
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user