test: add 64 integration and coverage tests for ValidationPipeline #37
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |