4a19d70af1
Lint with Ruff / ruff (push) Has been cancelled
MCP Server Tests / live-mcp-tests (push) Has been cancelled
Tests / unit-tests (push) Has been cancelled
Tests / database-integration-tests (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled
Server Tests / live-server-tests (push) Has been cancelled
Pyright Type Check / pyright (push) Has been cancelled
43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
name: Pyright Type Check
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
on:
|
|
push:
|
|
branches: ["main"]
|
|
pull_request:
|
|
branches: ["main"]
|
|
|
|
jobs:
|
|
pyright:
|
|
runs-on: depot-ubuntu-22.04
|
|
environment: development
|
|
steps:
|
|
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
|
- name: Set up Python
|
|
id: setup-python
|
|
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
|
|
with:
|
|
python-version: "3.10"
|
|
- name: Install uv
|
|
uses: astral-sh/setup-uv@caf0cab7a618c569241d31dcd442f54681755d39 # v3
|
|
with:
|
|
version: "latest"
|
|
- name: Install dependencies
|
|
run: uv sync --all-extras
|
|
- name: Run Pyright for graphiti-core
|
|
shell: bash
|
|
run: |
|
|
uv run pyright ./graphiti_core
|
|
- name: Install graph-service dependencies
|
|
shell: bash
|
|
run: |
|
|
cd server
|
|
uv sync --all-extras
|
|
- name: Run Pyright for graph-service
|
|
shell: bash
|
|
run: |
|
|
cd server
|
|
uv run pyright .
|