Merge pull request #147 from fktn-k/feature/fix_version_macro_file_path #170
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Coverage | |
on: | |
push: | |
branches: | |
- develop | |
- main | |
- release/* | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
coverage: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Install lcov | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y lcov | |
lcov -v | |
- name: Generate coverage | |
run: make lcov-coverage | |
- name: Upload coverage to Coveralls | |
uses: coverallsapp/github-action@v2 | |
with: | |
github-token: ${{secrets.GITHUB_TOKEN}} | |
file: ${{github.workspace}}/build_coverage/coverage/fkYAML.info | |
format: lcov |