Add a test workflow
All checks were successful
Unit Tests / unit-tests (push) Successful in 1m56s

This commit is contained in:
heboba
2026-02-26 21:07:03 +00:00
parent 48ae6cfbbb
commit 1e04bb89ad

View File

@@ -0,0 +1,24 @@
name: Unit Tests
on:
push:
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
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 -r requirements.txt
- name: Run unit tests
run: python -m unittest discover -s tests -p "test_*.py" -v