diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index a610769..aaf77c0 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -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 . diff --git a/test.macos.sh b/test.macos.sh index b46ce68..261a4ec 100755 --- a/test.macos.sh +++ b/test.macos.sh @@ -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