| name: Libclang Python Binding Tests |
| - 'clang/bindings/python/**' |
| - 'clang/tools/libclang/**' |
| - '.github/workflows/libclang-python-tests.yml' |
| - '.github/workflows/llvm-project-tests.yml' |
| - 'clang/bindings/python/**' |
| - 'clang/tools/libclang/**' |
| - '.github/workflows/libclang-python-tests.yml' |
| - '.github/workflows/llvm-project-tests.yml' |
| # Build libclang and then run the libclang Python binding's unit tests. |
| name: Build and run Python unit tests |
| if: github.repository == 'llvm/llvm-project' |
| python-version: ["3.8", "3.13"] |
| uses: ./.github/workflows/llvm-project-tests.yml |
| build_target: check-clang-python |
| # There is an issue running on "windows-2019". |
| # See https://github.com/llvm/llvm-project/issues/76601#issuecomment-1873049082. |
| os_list: '["ubuntu-22.04"]' |
| python_version: ${{ matrix.python-version }} |