Skip to content

Commit e6d7ba5

Browse files
committed
[GitHub] Add python version matrix to libclang python test
This has the ability to check multiple python versions for compatibility. Issue llvm#76601.
1 parent a91c617 commit e6d7ba5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/libclang-python-tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,15 @@ jobs:
3030
check-clang-python:
3131
# Build libclang and then run the libclang Python binding's unit tests.
3232
name: Build and run Python unit tests
33+
strategy:
34+
fail-fast: false
35+
matrix:
36+
python-version: ["3.7", "3.11"]
3337
uses: ./.github/workflows/llvm-project-tests.yml
3438
with:
3539
build_target: check-clang-python
3640
projects: clang
3741
# There is an issue running on "windows-2019".
3842
# See https://github.com/llvm/llvm-project/issues/76601#issuecomment-1873049082.
3943
os_list: '["ubuntu-latest"]'
44+
python_version: ${{ matrix.python-version }}

0 commit comments

Comments
 (0)