From 81a093fb91f6c7f073fdaa69e48b185d9e16201f Mon Sep 17 00:00:00 2001 From: David Perl Date: Tue, 3 Nov 2026 10:42:13 +0100 Subject: [PATCH] fix: add mx_bec dep --- .gitea/workflows/ci.yml | 15 ++++++++++++++- pyproject.toml | 2 +- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 4cf457f..f0a0292 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -24,6 +24,11 @@ on: required: false type: string default: "main" + MX_BEC_REPO_BRANCH: + description: "Branch of the mx_bec core repo to install" + required: false + type: string + default: "main" PYTHON_VERSION: description: "Python version to use" required: false @@ -46,6 +51,13 @@ jobs: with: python-version: "${{ inputs.PYTHON_VERSION || '3.12' }}" + - name: Checkout BEC Plugin Repository + uses: actions/checkout@v4 + with: + repository: bec/mx_bec + ref: "${{ inputs.MX_BEC_REPO_BRANCH || github.head_ref || github.sha }}" + path: ./mx_bec + - name: Checkout BEC Plugin Repository uses: actions/checkout@v4 with: @@ -94,7 +106,8 @@ jobs: uv pip install --system -e ./bec/bec_lib[dev] 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,pyside6] + uv pip install --system -e ./bec_widgets[dev] + uv pip install --system -e ./mx_bec[dev] uv pip install --system -e ./pxii_bec[dev] - name: Run Tests with Coverage diff --git a/pyproject.toml b/pyproject.toml index eaec104..b5d968d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ classifiers = [ "Programming Language :: Python :: 3", "Topic :: Scientific/Engineering", ] -dependencies = ["pandas~=2.0", "matplotlib"] +dependencies = ["mx_bec", "pandas~=2.0", "matplotlib"] [project.optional-dependencies] dev = [