Skip to content

ci: auto-create GitHub release pages on tag push (v1.0.3) #6

ci: auto-create GitHub release pages on tag push (v1.0.3)

ci: auto-create GitHub release pages on tag push (v1.0.3) #6

Workflow file for this run

name: CI
# Standard CI: run tests on push to main + every PR. Catches regressions
# before a release tag triggers the publish workflow.
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
test:
name: pytest (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install ghostloop with dev extras
run: |
python -m pip install --upgrade pip
# Core install only — backend extras (mujoco / pybullet / gym /
# ros2 / mcp / dashboard / otel) are gated and their tests skip
# cleanly when those libs aren't present. Install [mcp,dashboard]
# so the dashboard + MCP smoke paths get exercised.
pip install -e ".[dev,mcp,dashboard]"
- name: Run tests
run: python -m pytest tests/ -q
build:
name: Build sdist + wheel (smoke)
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Build artifacts
run: |
python -m pip install --upgrade pip build twine
python -m build
python -m twine check dist/*
- uses: actions/upload-artifact@v4
with:
name: dist
path: dist/
retention-days: 7