Skip to content

Commit

Permalink
Try to set libclang for ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
jbcoe committed Mar 31, 2024
1 parent 418f8f4 commit 6466ab8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ jobs:
run: |
source ./.venv/bin/activate
PY_CPPMODEL_LIBCLANG_PATH=/usr/lib/llvm-18/lib/libclang-18.so.1 \
python -m unittest discover .
python -m unittest discover --verbose .
9 changes: 5 additions & 4 deletions test.macos.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
#!/usr/bin/env bash

set -x


# Virtual environment setup
python3 -m venv .venv # Create a Python virtual env
source ./.venv/bin/activate # Activate the virtual env for bash by source.

# Type checks
python -m mypy *.py --check-untyped-defs # Run mypy to check type hints

Unit tests
PY_CPPMODEL_LIBCLANG_PATH=/Library/Developer/CommandLineTools/usr/lib/libclang.dylib \
python -m unittest discover . # Run tests
python -m unittest discover --verbose . # Run tests

0 comments on commit 6466ab8

Please sign in to comment.