potiuk commented on code in PR #63981:
URL: https://github.com/apache/airflow/pull/63981#discussion_r2964906041


##########
AGENTS.md:
##########
@@ -15,10 +15,17 @@
 `<PROJECT>` is folder where pyproject.toml of the package you want to test is 
located. For example, `airflow-core` or `providers/amazon`.
 `<target_branch>` is the branch the PR will be merged into — usually `main`, 
but could be `v3-1-test` when creating a PR for the 3.1 branch.
 
-- **Run a single test:** `uv run --project <PROJECT> pytest 
path/to/test.py::TestClass::test_method -xvs`
-- **Run a test file:** `uv run --project <PROJECT> pytest path/to/test.py -xvs`
-- **Run all tests in package:** `uv run --project <PROJECT> pytest 
path/to/package -xvs`
-- **If uv tests fail with missing system dependencies, run the tests with 
breeze**: `breeze run pytest <tests> -xvs`
+
+> [!IMPORTANT]
+> **Host vs. Container:** `uv run` commands work **only on the host** (outside 
Breeze).
+> If a test requires system-level dependencies (databases, service containers, 
etc.)
+> or you are unsure, always use `breeze run pytest <tests>` instead.

Review Comment:
   This is a good point copilot



-- 
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