From 7da8e9c1163279e063a396a5f4b5c29a4f7d3f08 Mon Sep 17 00:00:00 2001 From: David Perl Date: Wed, 25 Nov 2026 15:46:43 +0100 Subject: [PATCH] feat: fix ci dependency install --- .gitea/workflows/ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 508accf..9b154ba 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -1,6 +1,7 @@ name: CI for pxii_bec on: push: + branches: [main] pull_request: workflow_dispatch: inputs: @@ -123,9 +124,10 @@ jobs: uv pip install --system -e ./bec/bec_ipython_client uv pip install --system -e ./bec/bec_server[dev] uv pip install --system -e ./bec_widgets[dev] - # MX-internal dependencies (aarecommon, aare_config, jfjoch_client, ...) come from gitea - uv pip install --system --extra-index-url https://gitea.psi.ch/api/packages/mx/pypi/simple/ -e ./mx_bec[dev] - uv pip install --system --extra-index-url https://gitea.psi.ch/api/packages/mx/pypi/simple/ -e ./pxii_bec[dev] + # mx_bec pins its MX-internal dependencies (aarecommon, aare_config, ...) as direct URLs + # to the gitea registry. uv only accepts URL dependencies from packages named on the + # command line, so mx_bec must be installed together with the plugin which depends on it. + uv pip install --system -e ./mx_bec[dev] -e ./pxii_bec[dev] - name: Run Tests with Coverage id: coverage -- 2.54.1