mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-30 10:47:29 +02:00
fix(modem): Fix host tests to run gcov in python virt env
This commit is contained in:
6
.github/workflows/run-host-tests.yml
vendored
6
.github/workflows/run-host-tests.yml
vendored
@ -87,8 +87,10 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
if: ${{ inputs.run_coverage }}
|
if: ${{ inputs.run_coverage }}
|
||||||
run: |
|
run: |
|
||||||
apt-get update && apt-get install -y python3-pip rsync
|
apt-get update && apt-get install -y rsync
|
||||||
python -m pip install gcovr
|
python3 -m venv .venv
|
||||||
|
source .venv/bin/activate
|
||||||
|
python3 -m pip install gcovr
|
||||||
cd $GITHUB_WORKSPACE/${{inputs.component_path}}
|
cd $GITHUB_WORKSPACE/${{inputs.component_path}}
|
||||||
component=$(basename ${{ inputs.component_path }})
|
component=$(basename ${{ inputs.component_path }})
|
||||||
gcov `find . -name "$component*gcda"`
|
gcov `find . -name "$component*gcda"`
|
||||||
|
Reference in New Issue
Block a user