Initialize portable humanoid RL framework with licenses, locks and CI
Core and layout checks / core (push) Has been cancelled
Core and layout checks / core (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
name: Core and layout checks
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
core:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
env:
|
||||
PYTEST_DISABLE_PLUGIN_AUTOLOAD: '1'
|
||||
steps:
|
||||
# Immutable revisions also used by the Jumper reference workflow.
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
|
||||
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
|
||||
with:
|
||||
python-version: '3.13'
|
||||
- name: Install pinned resolver
|
||||
run: python -m pip install uv==0.13.1
|
||||
- name: Verify dependency lock and exports
|
||||
run: |
|
||||
uv lock --check
|
||||
uv export --locked --extra dev --no-emit-project --format requirements-txt --output-file requirements-linux-cu130.lock
|
||||
uv export --locked --only-group ci --no-emit-project --format requirements-txt --output-file requirements-ci.lock
|
||||
git diff --exit-code -- uv.lock requirements-linux-cu130.lock requirements-ci.lock
|
||||
# Core/static tests only: this group installs no project, Torch or CUDA stack.
|
||||
- name: Install locked check and build tools
|
||||
run: |
|
||||
uv sync --locked --only-group ci --python 3.13
|
||||
uv pip install --python .venv/bin/python --no-deps --no-build-isolation -e .
|
||||
- name: Check vendor inventory and wheel resources
|
||||
run: |
|
||||
.venv/bin/python tools/vendor_manifest.py
|
||||
.venv/bin/python -m build --wheel --no-isolation
|
||||
.venv/bin/python tools/check_wheel.py dist/universal_humanoid-*.whl
|
||||
- name: Lint and format
|
||||
run: |
|
||||
.venv/bin/python -m ruff check src tests tools .agents/skills/*/scripts
|
||||
.venv/bin/python -m ruff format --check src tests tools .agents/skills/*/scripts
|
||||
- name: Core and layout tests
|
||||
run: .venv/bin/python -m pytest -q
|
||||
Reference in New Issue
Block a user