Skip to content

Enforce main <- dev governance, migrate to GPL-2.0-only, add CLI/UI license gates, and split stable/nightly PyPI release lanes #20

Enforce main <- dev governance, migrate to GPL-2.0-only, add CLI/UI license gates, and split stable/nightly PyPI release lanes

Enforce main <- dev governance, migrate to GPL-2.0-only, add CLI/UI license gates, and split stable/nightly PyPI release lanes #20

Workflow file for this run

# Run test CI for pull requests targeting any branch.
# Gate execution to a configurable root repository:
# - vars.CI_ROOT_OWNER (default: Josephrp)
# - vars.CI_ROOT_REPO (default: current repository name)
name: Test CI
on:
pull_request:
branches:
- "**"
permissions:
contents: read
jobs:
test:
name: Test
if: ${{ github.repository == format('{0}/{1}', vars.CI_ROOT_OWNER != '' && vars.CI_ROOT_OWNER || 'Josephrp', vars.CI_ROOT_REPO != '' && vars.CI_ROOT_REPO || github.event.repository.name) }}
runs-on: ubuntu-latest
env:
RADIOSHAQ_LICENSE_ACCEPTED: "1"
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: "3.11"
- uses: astral-sh/setup-uv@v7
- name: Run tests
run: |
cd radioshaq && uv sync --extra dev --extra test --extra sdr && uv run pytest tests/unit tests/integration -v