Skip to content

Commit 22591fc

Browse files
committed
Fix missing install, and also publish to coveralls
1 parent 4ceb6ed commit 22591fc

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
runs-on: ubuntu-latest
66
steps:
77
- name: install dependencies
8-
run: sudo apt-get update && sudo apt-get -y install docbook-utils libglib2.0-dev libgnutls28-dev libnl-genl-3-dev autoconf-archive
8+
run: sudo apt-get update && sudo apt-get -y install docbook-utils libglib2.0-dev libgnutls28-dev libnl-genl-3-dev autoconf-archive gcovr
99
- name: Check out repository
1010
uses: actions/checkout@v4
1111
- run: ./autogen.sh
@@ -17,6 +17,11 @@ jobs:
1717
- name: Generate coverage reports
1818
run: |
1919
gcovr -r . --exclude-directories tests --print-summary --xml-pretty -o coverage.xml --html=coverage.html --html-details
20+
- name: Submit coverage to Coveralls
21+
uses: coverallsapp/github-action@v2
22+
with:
23+
file: coverage.xml
24+
format: cobertura
2025
- name: Upload coverage reports
2126
uses: actions/upload-artifact@v4
2227
with:

0 commit comments

Comments
 (0)