This is an automated email from the ASF dual-hosted git repository.

damccorm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 72ecb475fc1 sdks/python/scripts: capture `(...)` pytest marker group 
(#35740)
72ecb475fc1 is described below

commit 72ecb475fc1c361feef33745cbc2b8a95bf37d8a
Author: Mohamed Awnallah <[email protected]>
AuthorDate: Wed Jul 30 22:28:41 2025 +0300

    sdks/python/scripts: capture `(...)` pytest marker group (#35740)
    
    * scripts: capture `(...)` pytest marker group
    
    * workflows: trigger postcommit python
    
    * workflows: trigger postcommit python
---
 .github/trigger_files/beam_PostCommit_Python.json | 2 +-
 sdks/python/scripts/run_pytest.sh                 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/trigger_files/beam_PostCommit_Python.json 
b/.github/trigger_files/beam_PostCommit_Python.json
index 1fa29a890c2..4aa5f70b72e 100644
--- a/.github/trigger_files/beam_PostCommit_Python.json
+++ b/.github/trigger_files/beam_PostCommit_Python.json
@@ -1,5 +1,5 @@
 {
   "comment": "Modify this file in a trivial way to cause this test suite to 
run.",
-  "modification": 29
+  "modification": 101
 }
 
diff --git a/sdks/python/scripts/run_pytest.sh 
b/sdks/python/scripts/run_pytest.sh
index e4acad4840f..20fad40b9a2 100755
--- a/sdks/python/scripts/run_pytest.sh
+++ b/sdks/python/scripts/run_pytest.sh
@@ -43,7 +43,7 @@ echo "pytest_args: $pytest_args"
 echo "posargs: $posargs"
 
 # Define the regex for extracting the -m argument value
-marker_regex="-m\s+('[^']+'|\"[^\"]+\"|[^ ]+)"
+marker_regex="-m\s+('[^']+'|\"[^\"]+\"|\([^)]+\)|[^ ]+)"
 
 # Initialize the user_marker variable.
 user_marker=""

Reply via email to