Skip to content

Commit bbb3641

Browse files
committed
apt update before installing gcovr
1 parent 4c05108 commit bbb3641

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/coverage_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
path: catkin_ws/src/lpp
3131

3232
- name: Install gcovr
33-
run: sudo apt install -y gcovr
33+
run: sudo apt update && sudo apt install -y gcovr
3434

3535
- name: Build lpp
3636
run: source /opt/ros/${{ matrix.rosdistro }}/setup.bash && mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE="Debug" -DENABLE_COVERAGE=1 -DLPP_BUILD_TESTS=1 && make

.github/workflows/deploy_coverage_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
path: catkin_ws/src/lpp
3535

3636
- name: Install gcovr
37-
run: sudo apt install -y gcovr
37+
run: sudo apt update && sudo apt install -y gcovr
3838

3939
- name: Build lpp
4040
run: source /opt/ros/${{ matrix.rosdistro }}/setup.bash && mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE="Debug" -DENABLE_COVERAGE=1 -DLPP_BUILD_TESTS=1 && make

0 commit comments

Comments
 (0)