Skip to content

ADD: Unit tests for plot_confusion_matrix with mock CSV data #6

ADD: Unit tests for plot_confusion_matrix with mock CSV data

ADD: Unit tests for plot_confusion_matrix with mock CSV data #6

Workflow file for this run

name: Unit Tests
on:
push:
branches:
- main
- ghactions
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-asyncio openai python-dotenv Pillow matplotlib pandas aiohttp scikit-learn
pip install -e .
- name: Run tests
env:
OPENAI_API_KEY: "test-key-not-real"
MPLBACKEND: Agg
run: pytest tests/ -v