o-nikolas commented on code in PR #38967:
URL: https://github.com/apache/airflow/pull/38967#discussion_r1563072454


##########
tests/system/conftest.py:
##########
@@ -51,7 +51,14 @@ def pytest_collection_modifyitems(config: pytest.Config, 
items: list[pytest.Item
     rootdir = config.rootpath
     for item in items:
         rel_path = item.path.relative_to(rootdir)
+
+        # Provider system tests
         match = re.match(".+/system/providers/([^/]+)", str(rel_path))
         if match:
             provider = match.group(1)
             item.add_marker(pytest.mark.system(provider))
+
+        # Core system tests
+        match = re.match(".+/system/[^/]+", str(rel_path))
+        if match:
+            item.add_marker(pytest.mark.system("core"))

Review Comment:
   Got it, thanks!
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to