Skip to content

Use rounding for treatments #247

Use rounding for treatments

Use rounding for treatments #247

Workflow file for this run

name: Cppcheck
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
cppcheck:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update -qq
sudo apt-get install -y -qq cppcheck
- name: Cppcheck
run: |
cppcheck --force --error-exitcode=2 --max-ctu-depth=4 --std=c++17 --enable=all --inline-suppr --suppressions-list=.cppcheck_suppressions_hpp.txt -I include/ include/pops/*.hpp
cppcheck --force --error-exitcode=2 --max-ctu-depth=4 --std=c++17 --enable=all --inline-suppr --suppressions-list=.cppcheck_suppressions_cpp.txt -I include/ tests/*.cpp