Skip to content

Merge branch 'main' of github.com:llvm/llvm-project into jf/promise-i… #3

Merge branch 'main' of github.com:llvm/llvm-project into jf/promise-i…

Merge branch 'main' of github.com:llvm/llvm-project into jf/promise-i… #3

name: Libclang Python Binding Tests
permissions:
contents: read
on:
workflow_dispatch:
push:
<<<<<<< HEAD

Check failure on line 9 in .github/workflows/libclang-python-tests.yml

View workflow run for this annotation

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

Invalid workflow file

You have an error in your yaml syntax on line 9
=======
branches:
- 'main'
>>>>>>> faf555f93f3628b7b2b64162c02dd1474540532e
paths:
- 'clang/bindings/python/**'
- 'clang/tools/libclang/**'
- 'clang/CMakeList.txt'
- '.github/workflows/libclang-python-tests.yml'
- '.github/workflows/llvm-project-tests.yml'
pull_request:
paths:
- 'clang/bindings/python/**'
- 'clang/tools/libclang/**'
- 'clang/CMakeList.txt'
- '.github/workflows/libclang-python-tests.yml'
- '.github/workflows/llvm-project-tests.yml'
concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
check-clang-python:
# Build libclang and then run the libclang Python binding's unit tests.
name: Build and run Python unit tests
<<<<<<< HEAD
=======
if: github.repository == 'llvm/llvm-project'
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.11"]
>>>>>>> faf555f93f3628b7b2b64162c02dd1474540532e
uses: ./.github/workflows/llvm-project-tests.yml
with:
build_target: check-clang-python
projects: clang
# There is an issue running on "windows-2019".
# See https://github.com/llvm/llvm-project/issues/76601#issuecomment-1873049082.
os_list: '["ubuntu-latest"]'
<<<<<<< HEAD
=======
python_version: ${{ matrix.python-version }}
>>>>>>> faf555f93f3628b7b2b64162c02dd1474540532e