From 6643c49cb6b994637cef0c2b680d903be8b6a3f3 Mon Sep 17 00:00:00 2001 From: Euripedes Rocha Date: Thu, 23 May 2024 08:54:55 +0200 Subject: [PATCH] fix: Instalation of gcovr in host tests was broken Fix instalation by allowing pip to avoid system packages. --- .github/workflows/mqtt__host-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/mqtt__host-tests.yml b/.github/workflows/mqtt__host-tests.yml index 28125fa..2193d81 100644 --- a/.github/workflows/mqtt__host-tests.yml +++ b/.github/workflows/mqtt__host-tests.yml @@ -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