Fix test_utils_functions sys.argv handling #69
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |