Skip to content

Commit

Permalink
adding C++ linter
Browse files Browse the repository at this point in the history
  • Loading branch information
ruck314 committed Jun 28, 2024
1 parent 49886b5 commit 112dfb6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/rogue_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,26 @@ jobs:
cache: 'pip'
cache-dependency-path: 'pip_requirements.txt'

# Install dependencies
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install doxygen doxygen-doc libzmq3-dev libboost-all-dev
pip install -r pip_requirements.txt
# Flake 8 check
- name: Flake8 Tests
# Python Linter
- name: Python Linter
run: |
python -m compileall -f ./python/
flake8 --count ./python/
python -m compileall -f ./tests
flake8 --count ./tests/
# C++ Linter
- name: C++ Linter
run: |
find . -name '*.h' -o -name '*.cpp' | xargs cpplint
# Rogue
- name: Build Rogue
run: |
Expand Down
1 change: 1 addition & 0 deletions pip_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ sqlalchemy
pyserial
numpy
flake8
cpplint
gitpython
pygithub
pydm
Expand Down

0 comments on commit 112dfb6

Please sign in to comment.