Skip to content

feat: add var_smoothing parameter to GeneralNB, add pre-support for scikit-learn 1.7 #30

feat: add var_smoothing parameter to GeneralNB, add pre-support for scikit-learn 1.7

feat: add var_smoothing parameter to GeneralNB, add pre-support for scikit-learn 1.7 #30

Workflow file for this run

# This workflow will run the unit tests on a PR
name: Run Tests
on:
pull_request:
branches: [ main ]
workflow_call:
permissions:
contents: read
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
pip install -r requirements.txt
pip install -r requirements-dev.txt
- name: Run tests
run: |
pytest