Skip to content

Commit dabd4bf

Browse files
committed
fix(modem): Fix host tests to run gcov in python virt env
1 parent 70fa3af commit dabd4bf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/run-host-tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,10 @@ jobs:
8787
shell: bash
8888
if: ${{ inputs.run_coverage }}
8989
run: |
90-
apt-get update && apt-get install -y python3-pip rsync
91-
python -m pip install gcovr
90+
apt-get update && apt-get install -y rsync
91+
python3 -m venv .venv
92+
source .venv/bin/activate
93+
python3 -m pip install gcovr
9294
cd $GITHUB_WORKSPACE/${{inputs.component_path}}
9395
component=$(basename ${{ inputs.component_path }})
9496
gcov `find . -name "$component*gcda"`

0 commit comments

Comments
 (0)