Skip to content

Update coverallsapp/github-action action to v2.3.4 #355

Update coverallsapp/github-action action to v2.3.4

Update coverallsapp/github-action action to v2.3.4 #355

Workflow file for this run

name: build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: install lcov
run: sudo apt-get install lcov
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Install nasm
run: sudo apt install nasm
- name: create build dir
run: mkdir build
- name: cmake
working-directory: build
run: cmake .. -DCMAKE_BUILD_TYPE=Debug
- name: make
working-directory: build
run: make
- name: test
working-directory: build
run: make test ARGS="-V"
- name: coverage
working-directory: build
run: make coverage
- name: prepare coverage
working-directory: build
run: cat coverage/*.info >> coverage/lcov.info
- name: Upload code coverage report to coveralls
uses: coverallsapp/github-action@cfd0633edbd2411b532b808ba7a8b5e04f76d2c8 # v2.3.4
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: build/coverage/lcov.info