Skip to content

test: add 64 integration and coverage tests for ValidationPipeline #37

test: add 64 integration and coverage tests for ValidationPipeline

test: add 64 integration and coverage tests for ValidationPipeline #37

name: PeasyAI Tests
on:
push:
paths:
- "Src/PeasyAI/**"
- ".github/workflows/pchatbot-contract-tests.yml"
pull_request:
paths:
- "Src/PeasyAI/**"
- ".github/workflows/pchatbot-contract-tests.yml"
jobs:
unit-tests:
name: Unit Tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: Src/PeasyAI
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
- name: Run unit tests
run: make test-unit
contract-tests:
name: Contract Tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: Src/PeasyAI
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
- name: Run MCP contract tests
run: make test-contracts