Skip to content

[master] updated github actions #209

[master] updated github actions

[master] updated github actions #209

Workflow file for this run

name: C/C++ CI
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: init
run: ./bin/init.sh --init --no-update --no-upgrade --lcov --setup --optional
- name: coverage
run: ./bin/coverageall.sh --all
- name: collect
run: gcovr -r . --xml-pretty --output coverage.xml
- name: SonarQube Scan
uses: SonarSource/sonarqube-scan-action@v4
env:
SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
with:
args: >
--define sonar.coverageReportPaths=coverage/coverage.xml
- name: Coveralls GitHub Action
uses: coverallsapp/[email protected]