mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2026-02-04 13:25:13 +00:00
Fix Build 3
This commit is contained in:
11
.github/workflows/ci-check.yml
vendored
11
.github/workflows/ci-check.yml
vendored
@@ -8,7 +8,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
registry-check:
|
registry-check:
|
||||||
runs-on: ubuntu-latest
|
runs-on: windows-latest
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
@@ -33,8 +33,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Install ROS dependencies, uv and unilabos-msgs
|
- name: Install ROS dependencies, uv and unilabos-msgs
|
||||||
run: |
|
run: |
|
||||||
# Install all packages together for proper dependency resolution
|
|
||||||
# Use mamba for faster and more reliable solving
|
|
||||||
mamba install -n check-env \
|
mamba install -n check-env \
|
||||||
python=3.11.14 \
|
python=3.11.14 \
|
||||||
conda-forge::uv \
|
conda-forge::uv \
|
||||||
@@ -57,20 +55,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Install pip dependencies and unilabos
|
- name: Install pip dependencies and unilabos
|
||||||
run: |
|
run: |
|
||||||
# Activate the environment
|
|
||||||
conda activate check-env
|
|
||||||
# Install pip dependencies from requirements.txt (uv already installed via conda)
|
|
||||||
uv pip install -r unilabos/utils/requirements.txt
|
uv pip install -r unilabos/utils/requirements.txt
|
||||||
# Install special packages (git-based)
|
|
||||||
uv pip install pywinauto git+https://github.com/Xuwznln/pylabrobot.git
|
uv pip install pywinauto git+https://github.com/Xuwznln/pylabrobot.git
|
||||||
# Remove conflicting package
|
|
||||||
uv pip uninstall enum34 || true
|
uv pip uninstall enum34 || true
|
||||||
# Install unilabos in editable mode
|
|
||||||
uv pip install -e .
|
uv pip install -e .
|
||||||
|
|
||||||
- name: Run check mode (complete_registry)
|
- name: Run check mode (complete_registry)
|
||||||
run: |
|
run: |
|
||||||
conda activate check-env
|
|
||||||
python -m unilabos --check_mode --skip_env_check
|
python -m unilabos --check_mode --skip_env_check
|
||||||
|
|
||||||
- name: Check for uncommitted changes
|
- name: Check for uncommitted changes
|
||||||
|
|||||||
Reference in New Issue
Block a user