Skip to content

bugfix and change cli method #1707

bugfix and change cli method

bugfix and change cli method #1707

Workflow file for this run

name: "Coverage"
on:
push:
branches: [ master, ]
jobs:
build_on_linux_coverage:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: prepare
run: |
sudo apt update
sudo apt install ninja-build lcov language-pack-ja
- name: configure
run: |
mkdir build
cd build
cmake .. -G Ninja \
-DCMAKE_BUILD_TYPE=coverage \
-DCMAKE_C_COMPILER=gcc \
-DCMAKE_CXX_COMPILER=g++ \
-DUSE_EXTRA_TEST=on
- name: build
run: |
cd build
ninja
sudo ninja install
./ydsh ../tools/scripts/copy_mod4extra.ds
- name: test
run: |
cd build
ctest --output-on-failure
- name: generate lcov
run: |
./tools/scripts/report_cov.ds build
- name: Coveralls GitHub Action
uses: coverallsapp/github-action@1.1.3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./build/coverage_report-cleaned.info