[Lldb-commits] [lldb] [llvm] [DO-NOT-MERGE] Test github action (PR #181349)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Mon Feb 16 02:46:20 PST 2026
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/181349
>From 9ff7029d0a2766e108c1bde82369e929031d8461 Mon Sep 17 00:00:00 2001
From: Michael Buch <michaelbuch12 at gmail.com>
Date: Fri, 13 Feb 2026 11:51:58 +0000
Subject: [PATCH 1/5] Init github action
---
.../lldb-check-test-name-duplicates.yml | 53 +++++++++++++++++++
1 file changed, 53 insertions(+)
create mode 100644 .github/workflows/lldb-check-test-name-duplicates.yml
diff --git a/.github/workflows/lldb-check-test-name-duplicates.yml b/.github/workflows/lldb-check-test-name-duplicates.yml
new file mode 100644
index 0000000000000..94d41f85c45ee
--- /dev/null
+++ b/.github/workflows/lldb-check-test-name-duplicates.yml
@@ -0,0 +1,53 @@
+name: "LLDB Python Lint"
+
+permissions:
+ contents: read
+
+on:
+ pull_request:
+ branches:
+ - main
+ - 'users/**'
+ paths:
+ - 'lldb/test/API/**'
+
+jobs:
+ code_linter:
+ if: github.repository_owner == 'llvm'
+ runs-on: ubuntu-24.04
+ defaults:
+ run:
+ shell: bash
+ container:
+ image: 'ghcr.io/llvm/ci-ubuntu-24.04-lint'
+ timeout-minutes: 60
+ concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+ steps:
+ - name: Fetch LLVM sources
+ uses: actions/checkout at 8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
+ with:
+ fetch-depth: 2
+
+ - name: Get changed files
+ id: changed-files
+ uses: tj-actions/changed-files at e0021407031f5be11a464abee9a0776171c79891 # v47.0.1
+ with:
+ separator: ","
+ skip_initial_fetch: true
+ base_sha: 'HEAD~1'
+ sha: 'HEAD'
+
+ - name: Listed files
+ env:
+ CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
+ run: |
+ echo "Changed files:"
+ echo "$CHANGED_FILES"
+
+ - name: Run Python test-name linter
+ env:
+ CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
+ run: |
+ pylint --fail-on=E0102 --fail-under=0 "$CHANGED_FILES"
>From 8f27453f84a4c0766ba97b840bd138e199fc5331 Mon Sep 17 00:00:00 2001
From: Michael Buch <michaelbuch12 at gmail.com>
Date: Fri, 13 Feb 2026 11:53:05 +0000
Subject: [PATCH 2/5] TEST COMMIT
---
lldb/source/Commands/CommandObjectBreakpoint.cpp | 1 +
.../data-formatter/compactvectors/TestCompactVectors.py | 4 +++-
.../generic/vector/TestDataFormatterStdVector.py | 6 ++++++
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/lldb/source/Commands/CommandObjectBreakpoint.cpp b/lldb/source/Commands/CommandObjectBreakpoint.cpp
index 75dc890cc40ed..a9b17e85c1e9f 100644
--- a/lldb/source/Commands/CommandObjectBreakpoint.cpp
+++ b/lldb/source/Commands/CommandObjectBreakpoint.cpp
@@ -43,6 +43,7 @@ static void AddBreakpointDescription(Stream *s, Breakpoint *bp,
bp->GetDescription(s, level, true);
s->IndentLess();
s->EOL();
+ // Test
}
static bool GetDefaultFile(Target &target, StackFrame *cur_frame,
diff --git a/lldb/test/API/functionalities/data-formatter/compactvectors/TestCompactVectors.py b/lldb/test/API/functionalities/data-formatter/compactvectors/TestCompactVectors.py
index b162bd40d0bd4..ee57a23542314 100644
--- a/lldb/test/API/functionalities/data-formatter/compactvectors/TestCompactVectors.py
+++ b/lldb/test/API/functionalities/data-formatter/compactvectors/TestCompactVectors.py
@@ -16,7 +16,9 @@ def setUp(self):
# Find the line number to break at.
self.line = line_number("main.cpp", "// Set break point at this line.")
- @skipIf(compiler="clang", compiler_version=["<", "19.0"])
+ def test_with_run_command(self):
+ pass
+
@skipUnlessDarwin
def test_with_run_command(self):
"""Test that that file and class static variables display correctly."""
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vector/TestDataFormatterStdVector.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vector/TestDataFormatterStdVector.py
index af857d51b3d24..15c78667bc7d6 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vector/TestDataFormatterStdVector.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vector/TestDataFormatterStdVector.py
@@ -11,6 +11,9 @@
class StdVectorDataFormatterTestCase(TestBase):
TEST_WITH_PDB_DEBUG_INFO = True
+ def check_numbers(self, var_name, show_ptr=False):
+ pass
+
def check_numbers(self, var_name, show_ptr=False):
patterns = []
substrs = [
@@ -238,3 +241,6 @@ def test_ref_and_ptr_libcxx(self):
def test_ref_and_ptr_msvcstl(self):
self.build()
self.do_test_ref_and_ptr()
+
+ def test_ref_and_ptr_msvcstl(self):
+ pass
>From 3c3ee791f5de0c9f2821b7bc8af1eae4fa319053 Mon Sep 17 00:00:00 2001
From: Michael Buch <michaelbuch12 at gmail.com>
Date: Fri, 13 Feb 2026 13:11:59 +0000
Subject: [PATCH 3/5] Add requirements
---
.ci/requirements.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/.ci/requirements.txt b/.ci/requirements.txt
index 45eb253548496..0a03c5c1221ec 100644
--- a/.ci/requirements.txt
+++ b/.ci/requirements.txt
@@ -1,3 +1,4 @@
junitparser==3.2.0
google-cloud-storage==3.3.0
PyGithub==2.8.1
+pylint=4.0.4
>From d22718d4f7ab2484dfbba70bc1dcecab46d9b837 Mon Sep 17 00:00:00 2001
From: Michael Buch <michaelbuch12 at gmail.com>
Date: Fri, 13 Feb 2026 14:52:26 +0000
Subject: [PATCH 4/5] fix requirements
---
.ci/requirements.txt | 1 -
llvm/utils/git/requirements_linting.txt.in | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/.ci/requirements.txt b/.ci/requirements.txt
index 0a03c5c1221ec..45eb253548496 100644
--- a/.ci/requirements.txt
+++ b/.ci/requirements.txt
@@ -1,4 +1,3 @@
junitparser==3.2.0
google-cloud-storage==3.3.0
PyGithub==2.8.1
-pylint=4.0.4
diff --git a/llvm/utils/git/requirements_linting.txt.in b/llvm/utils/git/requirements_linting.txt.in
index 4abcef75ef6fa..03ae082c4e9e2 100644
--- a/llvm/utils/git/requirements_linting.txt.in
+++ b/llvm/utils/git/requirements_linting.txt.in
@@ -1,2 +1,3 @@
PyGithub==1.59.1
doc8==2.0.0
+pylint=4.0.4
>From 1580d9e3f121e302171d26a78c50b1137d355650 Mon Sep 17 00:00:00 2001
From: Michael Buch <michaelbuch12 at gmail.com>
Date: Mon, 16 Feb 2026 10:45:32 +0000
Subject: [PATCH 5/5] add requirements'
---
llvm/utils/git/requirements_linting.txt | 37 ++++++++++++++++++++--
llvm/utils/git/requirements_linting.txt.in | 2 +-
2 files changed, 35 insertions(+), 4 deletions(-)
diff --git a/llvm/utils/git/requirements_linting.txt b/llvm/utils/git/requirements_linting.txt
index fc95278cea362..ea285c006d841 100644
--- a/llvm/utils/git/requirements_linting.txt
+++ b/llvm/utils/git/requirements_linting.txt
@@ -2,8 +2,15 @@
# This file is autogenerated by pip-compile with Python 3.13
# by the following command:
#
-# pip-compile --generate-hashes --output-file=requirements_linting.txt requirements_linting.txt.in
+# pip-compile --generate-hashes --output-file=llvm/utils/git/requirements_linting.txt llvm/utils/git/requirements_linting.txt.in
#
+--index-url https://pypi.python.org/simple
+--extra-index-url https://pypi.apple.com/simple
+
+astroid==4.0.4 \
+ --hash=sha256:52f39653876c7dec3e3afd4c2696920e05c83832b9737afc21928f2d2eb7a753 \
+ --hash=sha256:986fed8bcf79fb82c78b18a53352a0b287a73817d6dbcfba3162da36667c49a0
+ # via pylint
certifi==2025.8.3 \
--hash=sha256:e564105f78ded564e3ae7c923924435e1daa7463faeab5bb932bc53ffae63407 \
--hash=sha256:f6c12493cfb1b06ba2ff328595af9350c65d6644968e5d3a2ffd78699af217a5
@@ -203,10 +210,14 @@ deprecated==1.2.18 \
--hash=sha256:422b6f6d859da6f2ef57857761bfb392480502a64c3028ca9bbe86085d72115d \
--hash=sha256:bd5011788200372a32418f888e326a09ff80d0214bd961147cfed01b5c018eec
# via pygithub
+dill==0.4.1 \
+ --hash=sha256:1e1ce33e978ae97fcfcff5638477032b801c46c7c65cf717f95fbc2248f79a9d \
+ --hash=sha256:423092df4182177d4d8ba8290c8a5b640c66ab35ec7da59ccfa00f6fa3eea5fa
+ # via pylint
doc8==2.0.0 \
--hash=sha256:1267ad32758971fbcf991442417a3935c7bc9e52550e73622e0e56ba55ea1d40 \
--hash=sha256:9862710027f793c25f9b1899150660e4bf1d4c9a6738742e71f32011e2e3f590
- # via -r requirements_linting.txt.in
+ # via -r llvm/utils/git/requirements_linting.txt.in
docutils==0.21.2 \
--hash=sha256:3a6b18732edf182daa3cd12775bbb338cf5691468f91eeeb109deff6ebfa986f \
--hash=sha256:dafca5b9e384f0e419294eb4d2ff9fa826435bf15f15b7bd45723e8ad76811b2
@@ -217,6 +228,18 @@ idna==3.10 \
--hash=sha256:12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9 \
--hash=sha256:946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3
# via requests
+isort==7.0.0 \
+ --hash=sha256:1bcabac8bc3c36c7fb7b98a76c8abb18e0f841a3ba81decac7691008592499c1 \
+ --hash=sha256:5513527951aadb3ac4292a41a16cbc50dd1642432f5e8c20057d414bdafb4187
+ # via pylint
+mccabe==0.7.0 \
+ --hash=sha256:348e0240c33b60bbdf4e523192ef919f28cb2c3d7d5c7794f74009290f236325 \
+ --hash=sha256:6c2d30ab6be0e4a46919781807b4f0d834ebdd6c6e3dca0bda5a15f863427b6e
+ # via pylint
+platformdirs==4.9.2 \
+ --hash=sha256:9170634f126f8efdae22fb58ae8a0eaa86f38365bc57897a6c4f781d1f5875bd \
+ --hash=sha256:9a33809944b9db043ad67ca0db94b14bf452cc6aeaac46a88ea55b26e2e9d291
+ # via pylint
pycparser==2.22 \
--hash=sha256:491c8be9c040f5390f5bf44a5b07752bd07f56edf992381b05c701439eec10f6 \
--hash=sha256:c3702b6d3dd8c7abc1afa565d7e63d53a1d0bd86cdc24edd75470f4de499cfcc
@@ -224,7 +247,7 @@ pycparser==2.22 \
pygithub==1.59.1 \
--hash=sha256:3d87a822e6c868142f0c2c4bf16cce4696b5a7a4d142a7bd160e1bdf75bc54a9 \
--hash=sha256:c44e3a121c15bf9d3a5cc98d94c9a047a5132a9b01d22264627f58ade9ddc217
- # via -r requirements_linting.txt.in
+ # via -r llvm/utils/git/requirements_linting.txt.in
pygments==2.19.2 \
--hash=sha256:636cb2477cec7f8952536970bc533bc43743542f70392ae026374600add5b887 \
--hash=sha256:86540386c03d588bb81d44bc3928634ff26449851e99741617ecb9037ee5ec0b
@@ -233,6 +256,10 @@ pyjwt[crypto]==2.10.1 \
--hash=sha256:3cc5772eb20009233caf06e9d8a0577824723b44e6648ee0a2aedb6cf9381953 \
--hash=sha256:dcdd193e30abefd5debf142f9adfcdd2b58004e644f25406ffaebd50bd98dacb
# via pygithub
+pylint==4.0.4 \
+ --hash=sha256:63e06a37d5922555ee2c20963eb42559918c20bd2b21244e4ef426e7c43b92e0 \
+ --hash=sha256:d9b71674e19b1c36d79265b5887bf8e55278cbe236c9e95d22dc82cf044fdbd2
+ # via -r llvm/utils/git/requirements_linting.txt.in
pynacl==1.5.0 \
--hash=sha256:06b8f6fa7f5de8d5d2f7573fe8c863c051225a27b61e6860fd047b1775807858 \
--hash=sha256:0c84947a22519e013607c9be43706dd42513f9e6ae5d39d3613ca1e142fba44d \
@@ -257,6 +284,10 @@ stevedore==5.6.0 \
--hash=sha256:4a36dccefd7aeea0c70135526cecb7766c4c84c473b1af68db23d541b6dc1820 \
--hash=sha256:f22d15c6ead40c5bbfa9ca54aa7e7b4a07d59b36ae03ed12ced1a54cf0b51945
# via doc8
+tomlkit==0.14.0 \
+ --hash=sha256:592064ed85b40fa213469f81ac584f67a4f2992509a7c3ea2d632208623a3680 \
+ --hash=sha256:cf00efca415dbd57575befb1f6634c4f42d2d87dbba376128adb42c121b87064
+ # via pylint
urllib3==2.5.0 \
--hash=sha256:3fc47733c7e419d4bc3f6b3dc2b4f890bb743906a30d56ba4a5bfa4bbff92760 \
--hash=sha256:e6b01673c0fa6a13e374b50871808eb3bf7046c4b125b216f6bf1cc604cff0dc
diff --git a/llvm/utils/git/requirements_linting.txt.in b/llvm/utils/git/requirements_linting.txt.in
index 03ae082c4e9e2..acd679e5b4089 100644
--- a/llvm/utils/git/requirements_linting.txt.in
+++ b/llvm/utils/git/requirements_linting.txt.in
@@ -1,3 +1,3 @@
PyGithub==1.59.1
doc8==2.0.0
-pylint=4.0.4
+pylint==4.0.4
More information about the lldb-commits
mailing list