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