File tree 1 file changed +13
-1
lines changed
1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 40
40
run : |
41
41
sudo apt-get install -y lcov
42
42
43
+ - name : Install lcov 2.3 (which fixes function coverage calculation, https://bugs.launchpad.net/ubuntu/+source/lcov/+bug/2052354)
44
+ if : runner.os == 'Linux'
45
+ run : |
46
+ echo -e "Package: *\nPin: release n=plucky\nPin-Priority: 100" | sudo tee /etc/apt/preferences.d/99-plucky
47
+ echo "deb http://azure.archive.ubuntu.com/ubuntu/ plucky main universe" | sudo tee /etc/apt/sources.list.d/ubuntu-plucky.list
48
+ sudo apt-get update
49
+ sudo apt-get install -y -t plucky lcov
50
+ apt-cache policy lcov
51
+
43
52
- name : " CMake Configure for Unix with vcpkg dependencies"
44
53
env :
45
54
CFLAGS : " --coverage"
55
64
working-directory : " ${{ github.workspace }}/_build"
56
65
57
66
- name : Run lcov
58
- run : lcov --capture --directory "${{ github.workspace }}/_build" --output-file coverage.info --no-external --directory "${{ github.workspace }}" --exclude '*/tests/*'
67
+ run : lcov --capture --directory "${{ github.workspace }}" --output-file coverage.info --no-external --exclude '*/tests/*'
68
+
69
+ - name : Dump lcov
70
+ run : lcov --list coverage.info
59
71
60
72
- name : Coveralls
61
73
uses : coverallsapp/github-action@v2
You can’t perform that action at this time.
0 commit comments