feat: stats --no-label for PRs without labels (author + branch only) #14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - run: pip install -r requirements.txt | |
| - run: ruff check src tests run.py stats.py | |
| - run: ruff format --check src tests run.py stats.py | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - run: pip install -r requirements.txt | |
| # Repo root (for run.py) + src/ (for orchestrator, discovery, …); matches pytest pythonpath in pyproject.toml. | |
| - run: pytest tests/ -v --cov=src --cov-report=term-missing | |
| env: | |
| PYTHONPATH: "${{ github.workspace }}:${{ github.workspace }}/src" |