Initial commit for the rspamd spam/ham trainer

This commit is contained in:
2026-06-22 16:17:38 +02:00
commit 7bc9d7a901
18 changed files with 1071 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
name: CI
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install build tooling
run: |
python -m pip install --upgrade pip
python -m pip install build
- name: Run tests
run: |
PYTHONPATH=src python -m unittest discover -s tests
- name: Build package
run: |
python -m build