Skip to content

feat: migrate to LangChain v1 packages with enhanced HITL and context… #14

feat: migrate to LangChain v1 packages with enhanced HITL and context…

feat: migrate to LangChain v1 packages with enhanced HITL and context… #14

Workflow file for this run

# This workflow will run unit tests for the current project
name: CI
on:
push:
branches: ["main"]
pull_request:
workflow_dispatch: # Allows triggering the workflow manually in GitHub UI
# If another push to the same PR or branch happens while this workflow is still running,
# cancel the earlier run in favor of the next run.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
unit-tests:
name: Unit Tests
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.11", "3.12"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
uv sync
- name: Lint with ruff
run: |
make lint
- name: Check README spelling
uses: codespell-project/actions-codespell@v2
with:
ignore_words_file: .codespellignore
path: "**/README.md"
- name: Run tests with make
env:
SILICONFLOW_API_KEY: sk-test-fake-key-for-ci
OPENROUTER_API_KEY: sk-test-fake-key-for-ci
OPENAI_API_KEY: sk-test-fake-key-for-ci
run: |
make test