[llvm-branch-commits] [Github] Remove call to llvm-project-tests from libclang tests (PR #153876)

Jannick Kremer via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Aug 15 18:48:45 PDT 2025


================
@@ -25,17 +25,36 @@ on:
 jobs:
   check-clang-python:
     # Build libclang and then run the libclang Python binding's unit tests.
+    # There is an issue running on "windows-2019".
+    # See https://github.com/llvm/llvm-project/issues/76601#issuecomment-1873049082.
     name: Build and run Python unit tests
     if: github.repository == 'llvm/llvm-project'
+    runs-on: ubuntu-24.04
     strategy:
       fail-fast: false
       matrix:
         python-version: ["3.8", "3.13"]
-    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-24.04"]'
-      python_version: ${{ matrix.python-version }}
+    steps:
+      - uses: actions/checkout at 08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
+      - name: Setup Python
+        uses: actions/setup-python at 42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
+        with:
+          python-version: ${{ matrix.python_version }}
----------------
DeinAlptraum wrote:

Something doesn't seem to be working here, the action raises several warnings and the version used for the tests at the end was the pre-installed 3.12 (see e.g. the "Found Python3" line at the start of the  "Build and Test" step, or the Python call towards the end of the step).
A working run for comparison: https://github.com/llvm/llvm-project/actions/runs/16983718164/job/48198262227?pr=153746

https://github.com/llvm/llvm-project/pull/153876


More information about the llvm-branch-commits mailing list