Skip to content

build(deps-dev): Bump @types/node from 25.9.0 to 25.9.1 #164

build(deps-dev): Bump @types/node from 25.9.0 to 25.9.1

build(deps-dev): Bump @types/node from 25.9.0 to 25.9.1 #164

Workflow file for this run

name: OpenAI Parity Tests
on:
push:
branches: [main, staging]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
parity-python:
name: Python Parity Tests
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
pip install openai
- name: Run Python parity tests
env:
CHITTYCAN_TOKEN: ${{ secrets.CHITTYCAN_TOKEN }}
OPENAI_API_BASE: https://connect.chitty.cc/v1
run: |
python3 tests/parity_py.py
parity-node:
name: Node.js Parity Tests
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: "20"
- name: Install dependencies
run: |
npm install openai
- name: Run Node.js parity tests
env:
CHITTYCAN_TOKEN: ${{ secrets.CHITTYCAN_TOKEN }}
OPENAI_API_BASE: https://connect.chitty.cc/v1
run: |
node tests/parity_node.js
parity-local:
name: Local Ollama Tests
runs-on: ubuntu-latest
continue-on-error: true
services:
ollama:
image: ollama/ollama:latest
ports:
- 11434:11434
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Pull Ollama model
run: |
docker exec ${{ job.services.ollama.id }} ollama pull llama3.2:1b
- name: Warm up model
run: |
curl -sf http://localhost:11434/api/generate \
-d '{"model":"llama3.2:1b","prompt":"hi","stream":false}' \
--max-time 120 > /dev/null
- name: Install dependencies
run: |
pip install openai
- name: Run local tests
env:
OPENAI_API_KEY: dummy-key
OPENAI_API_BASE: http://localhost:11434/v1
run: |
python3 tests/parity_py.py