Commit fdbc454
committed
ci: add CI test pipeline and refactor tests to pytest format
- Add .github/workflows/ci.yml: runs pytest on Python 3.10-3.13 across
ubuntu/macos/windows on push and PR to main
- Add [project.optional-dependencies] test group and [tool.pytest.ini_options]
to pyproject.toml
- Replace all 11 _test_*.py plain scripts with proper test_*.py pytest files:
each test file uses test functions with assertions instead of print statements,
covering SVM, SVR, CQR, ElasticNet, FairSVM, MF, monotonic, multiclass,
path solution, sklearn mixin, and warm-start
- 40 tests pass locally1 parent 5a9de01 commit fdbc454
24 files changed
Lines changed: 1619 additions & 1946 deletions
File tree
- .github/workflows
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
33 | 42 | | |
34 | 43 | | |
35 | 44 | | |
This file was deleted.
0 commit comments