forked from andor9/tyrant_optimize
-
Notifications
You must be signed in to change notification settings - Fork 9
31 lines (28 loc) · 837 Bytes
/
test.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
name: test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: install
run: |
sudo apt-get update
sudo apt-get --yes install g++ make cmake libboost-all-dev lcov
- name: build
run: make debug && make test
- name: xml fetch
run: ./update_xml.sh
- name: test
run: ./tuo-test --log_level=message
- name: lcov
run: |
lcov -b . -d . -o coverage.output --capture
lcov --remove coverage.output '/usr/include/*' './include/*' '*/extern/*' '*rapidxml.hpp*' '/usr/lib/*' -o coverage.output
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.output