fix: Instalation of gcovr in host tests was broken

Fix instalation by allowing pip to avoid system packages.
This commit is contained in:
Euripedes Rocha
2024-05-23 08:54:55 +02:00
parent 72feca44d6
commit 6643c49cb6

View File

@ -43,7 +43,7 @@ jobs:
- name: Run gcovr
shell: bash
run: |
python -m pip install gcovr
python -m pip install gcovr --break-system-packages
cd $IDF_PATH/${{ env.COMP_DIR }}
gcov -b host_test/main/mqtt_client.c. -o `find . -name "mqtt_client*gcda" -exec dirname {} \;`
gcovr --gcov-ignore-parse-errors -g -k -r . --html index.html -x esp_mqtt_coverage.xml