Skip to content

Feat/vision dice detection #5

Feat/vision dice detection

Feat/vision dice detection #5

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
working-directory: boardgame-ai
run: pip install -e ".[dev]"
- name: Lint (ruff)
working-directory: boardgame-ai
run: ruff check core/ bridge/ tests/
- name: Format check (black)
working-directory: boardgame-ai
run: black --check core/ bridge/ tests/
- name: Type check (mypy)
working-directory: boardgame-ai
run: mypy core/ bridge/
- name: Contract tests
working-directory: boardgame-ai
run: pytest tests/test_contracts.py -v