Skip to content

Patch

Patch #15

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
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- uses: astral-sh/setup-uv@v5
- name: Run tests
run: |
cd radioshaq && uv sync --extra dev --extra test --extra sdr && uv run pytest tests/unit tests/integration -v