From d372e17f6022b33e1a93d67b530e0e47a0316355 Mon Sep 17 00:00:00 2001 From: Clo <122717146+Cloriskitty@users.noreply.github.com> Date: Sun, 29 Mar 2026 16:57:07 -0700 Subject: [PATCH 1/2] ci: add release checks workflow (build, package verify, install test) --- .github/workflows/release-checks.yml | 45 ++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/release-checks.yml diff --git a/.github/workflows/release-checks.yml b/.github/workflows/release-checks.yml new file mode 100644 index 0000000..4b3c113 --- /dev/null +++ b/.github/workflows/release-checks.yml @@ -0,0 +1,45 @@ +name: Release Checks + +on: + pull_request: + branches: [main] + push: + branches: [main] + +jobs: + build: + name: Build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: astral-sh/setup-uv@v4 + with: + version: "latest" + + - uses: actions/setup-python@v5 + with: + python-version: "3.13" + + - name: Install dependencies + run: uv sync --all-extras --dev + + - name: Build package + run: uv build + + - name: Verify package contents + run: | + ls -la dist/ + # Ensure both sdist and wheel were created + test -f dist/*.tar.gz + test -f dist/*.whl + + - name: Check package metadata + run: | + pip install --break-system-packages twine + twine check dist/* + + - name: Test install from wheel + run: | + pip install --break-system-packages dist/*.whl + python -c "import omniclaw; print(f'omniclaw installed successfully')" From baacacc28ffbb45ca8f90339c7256a496d1f829a Mon Sep 17 00:00:00 2001 From: Clo <122717146+Cloriskitty@users.noreply.github.com> Date: Sun, 29 Mar 2026 17:00:42 -0700 Subject: [PATCH 2/2] fix: use uv for install test to match project environment --- .github/workflows/release-checks.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-checks.yml b/.github/workflows/release-checks.yml index 4b3c113..cd6b013 100644 --- a/.github/workflows/release-checks.yml +++ b/.github/workflows/release-checks.yml @@ -30,16 +30,15 @@ jobs: - name: Verify package contents run: | ls -la dist/ - # Ensure both sdist and wheel were created test -f dist/*.tar.gz test -f dist/*.whl - name: Check package metadata run: | - pip install --break-system-packages twine - twine check dist/* + uv pip install twine + uv run twine check dist/* - name: Test install from wheel run: | - pip install --break-system-packages dist/*.whl - python -c "import omniclaw; print(f'omniclaw installed successfully')" + uv pip install dist/*.whl --force-reinstall + uv run python -c "import omniclaw; print('omniclaw installed successfully')"