Skip to content

ci: add workflow triggers for feature branches and manual dispatch #47

ci: add workflow triggers for feature branches and manual dispatch

ci: add workflow triggers for feature branches and manual dispatch #47

Workflow file for this run

name: CI
on:
pull_request:
branches:
- develop
push:
branches:
- feature/*
workflow_dispatch: # 👈 allows manual run from GitHub UI
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Install uv
run: pip install uv
- name: Set up environment
run: |
uv venv
source .venv/bin/activate
uv pip install -e .[test,dev]
- name: Run code quality checks
run: |
source .venv/bin/activate
flake8 src/ --max-line-length=88
black --check src/ --line-length=88
- name: Run tests
run: |
source .venv/bin/activate
python tests/run_tests.py --all --verbose