[CI] Update workflow
This commit is contained in:
parent
7497cb26a5
commit
41df792eef
1 changed files with 12 additions and 1 deletions
13
.github/workflows/unit-test.yml
vendored
13
.github/workflows/unit-test.yml
vendored
|
@ -19,9 +19,20 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y libboost-all-dev libfmt-dev
|
sudo apt-get install -y libboost-all-dev libfmt-dev lcov
|
||||||
|
|
||||||
- name: Run unit test
|
- name: Run unit test
|
||||||
run: |
|
run: |
|
||||||
cd extras/test/unit
|
cd extras/test/unit
|
||||||
./test.sh
|
./test.sh
|
||||||
|
|
||||||
|
- name: Measure test coverage
|
||||||
|
run: |
|
||||||
|
cd extras/test/unit
|
||||||
|
./coverage.sh
|
||||||
|
|
||||||
|
- name: Upload coverage report as artifact
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: coverage_report
|
||||||
|
path: extras/test/unit/lcov.report.zip
|
||||||
|
|
Loading…
Add table
Reference in a new issue