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


##########
.github/workflows/basic-tests.yml:
##########
@@ -394,3 +394,57 @@ jobs:
         run: |
           breeze release-management generate-issue-content-core \
             --limit-pr-count 2 --previous-release 3.0.1 --current-release 
3.0.2 --verbose
+
+  test-airflow-standalone:
+    timeout-minutes: 30
+    name: "Test Airflow standalone commands"
+    runs-on: ${{ fromJSON(inputs.runners) }}
+    env:
+      UV_VERSION: ${{inputs.uv-version}}
+      AIRFLOW_HOME: ~/airflow
+    steps:
+      - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
+        uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683  # 
v4.2.2
+        with:
+          persist-credentials: false
+      - name: "Install uv"
+        run: curl -LsSf https://astral.sh/uv/${UV_VERSION}/install.sh | sh
+      - name: "Set up Airflow home directory"
+        run: |
+          echo "Setting AIRFLOW_HOME to $AIRFLOW_HOME"
+          mkdir -p $AIRFLOW_HOME
+      - name: "Install Airflow from current repo (simulating user 
installation)"
+        run: |
+          uv venv
+          source .venv/bin/activate
+          uv pip install -e ./airflow-core
+      - name: "Test airflow standalone command"
+        run: |
+          source .venv/bin/activate
+          airflow standalone 2>&1 | tee airflow_startup.log &

Review Comment:
   ```suggestion
             uv run --no-sync airflow standalone 2>&1 | tee airflow_startup.log 
&
   ```
   
   Same here. The `uv run` automatically activates venv created above.



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