Skip to content

Fix 7 GitHub issues and improve 3 more #68

Fix 7 GitHub issues and improve 3 more

Fix 7 GitHub issues and improve 3 more #68

name: test macos latest
on: [push]
jobs:
build:
runs-on: [macos-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Add llvm utils clang-format and clang-tidy to path
run: echo "$(brew --prefix llvm)/bin" >> $GITHUB_PATH
- name: Install 4 hooks, python3, llvm 12.0.1 already installed which includes clang-tidy, clang-format
run: brew install uncrustify cppcheck oclint iwyu
- name: Install pip dependencies
run: pip3 install cpplint pytest pre-commit
- name: Install hooks locally
run: pip3 install .
- name: Get command versions
run: |
clang-format --version
clang-tidy --version
cppcheck --version
cpplint --version
include-what-you-use --version
oclint --version
- name: Get python library versions
run: |
pytest --version
pre-commit --version
- name: Run tests
run: python3 -m pytest -x -vvv