Skip to content

Add project rule to block Cursor commit and PR attribution. #13

Add project rule to block Cursor commit and PR attribution.

Add project rule to block Cursor commit and PR attribution. #13

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: requirements.txt
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Compile
run: python -m compileall agents api models tools memory ui main.py scripts tests
- name: Lint
run: ruff check .
- name: Format check
run: ruff format --check .
- name: Run tests with coverage
run: pytest -q --cov=. --cov-report=term-missing --cov-fail-under=60