Skip to content

Document public ClickAdvisor MCP endpoint #40

Document public ClickAdvisor MCP endpoint

Document public ClickAdvisor MCP endpoint #40

Workflow file for this run

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.11"
- name: Install Poetry
run: pip install poetry
- name: Install dependencies
run: poetry install --no-interaction --no-ansi
- name: Run Ruff
run: poetry run ruff check .
type-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install Poetry
run: pip install poetry
- name: Install dependencies
run: poetry install --no-interaction --no-ansi
- name: Run mypy
run: poetry run mypy clickadvisor
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install Poetry
run: pip install poetry
- name: Install dependencies
run: poetry install --no-interaction --no-ansi
- name: Run pytest
run: poetry run pytest --ignore=tests/integration
integration-test:
runs-on: ubuntu-latest
services:
clickhouse:
image: clickhouse/clickhouse-server:latest
env:
CLICKHOUSE_USER: default
CLICKHOUSE_PASSWORD: clickadvisor
ports:
- "8123:8123"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install Poetry
run: pip install poetry
- name: Install dependencies
run: poetry install --no-interaction --no-ansi
- name: Run integration tests
run: poetry run pytest tests/integration/ -v