Files
cparse/.github/workflows/ci.yml
Vinícius Garcia e43bd372f5 Try to add cpplint
2025-06-09 09:28:11 -03:00

25 lines
594 B
YAML

name: CI
on:
push: {}
pull_request:
types: [opened, reopened]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check GCC version
run: gcc --version
- name: Install CppCheck
run: sudo apt-get install cppcheck
- name: Install CppLint
run: pipx install cpplint
- name: Run Linters
run: |
cpplint --filter=-whitespace/line_length,-legal/copyright,-runtime/explicit *.cpp *.h
cppcheck --suppress='*:catch.hpp' . --force
- name: Run Tests
run: make test