Skip to content

Commit

Permalink
try using package lcov
Browse files Browse the repository at this point in the history
  • Loading branch information
phlptp committed Dec 9, 2024
1 parent 0f8bbd6 commit acb6b03
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ jobs:

- name: Get LCov
run: |
sudo apt-get install ca-certificates
wget https://github.com/linux-test-project/lcov/releases/download/v2.2/lcov-2.2.tar.gz
tar -xzf lcov-2.2.tar.gz
cd lcov-2.2
sudo make install
sudo apt-get install ca-certificates lcov
#wget https://github.com/linux-test-project/lcov/releases/download/v2.2/lcov-2.2.tar.gz
#tar -xzf lcov-2.2.tar.gz
#cd lcov-2.2
#sudo make install
- name: Configure
run: |
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
files: build/coverage.info
fail_ci_if_error: true
functionalities: fixes
#token: ${{ secrets.CODECOV_TOKEN }} # required
token: ${{ secrets.CODECOV_TOKEN }} # required



Expand Down
2 changes: 1 addition & 1 deletion test/examples_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ SPDX-License-Identifier: BSD-3-Clause
/** @file Test just to load up some unit definitions and do some operations with
them it tests linking and some usefulness in code coverage */

int main(int argc, char* argv[])
int main(int /*argc*/, char* /*argv*/[])
{
units::fixed_precise_measurement fpm1(1250.0, units::precise::cm.pow(3));
units::fixed_precise_measurement fpm2(1.25, units::precise::L);
Expand Down

0 comments on commit acb6b03

Please sign in to comment.