forked from multipath-tcp/mptcpd
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (32 loc) · 949 Bytes
/
coverage.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Coverage
on: ["push", "pull_request"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: dependencies
run: sudo apt-get -y install autoconf-archive lcov git
- name: build and install ELL
run: |
git clone git://git.kernel.org/pub/scm/libs/ell/ell.git
cd ell
git checkout 0.30
./bootstrap
./configure --prefix=/usr
sudo make install
- name: bootstrap
run: ./bootstrap
- name: configure
run: ./configure --enable-code-coverage
- name: make
run: make
- name: make check
run: make check-code-coverage \
CODE_COVERAGE_OUTPUT_FILE=lcov.info \
CODE_COVERAGE_LCOV_OPTIONS="--no-external --exclude */tests/*"
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./lcov.info