Commit fec00ae
committed
ci: add GitHub Actions workflow that runs the unittest suite (closes #13)
There was no CI on this repository — 137 unit tests in tests/ were only
ever run when a developer remembered to run them locally. A regression
that broke CLI parity, exclusion rules, exporter output, alias
inference, or search filtering could land on master with no gate.
New workflow `.github/workflows/tests.yml`:
- Triggers on every push to master and every pull request.
- Single ubuntu-latest runner, Python 3.12.
- Installs only what the tests need (flask, fpdf2). pywebview from
requirements.txt is the desktop-launcher dep and pulls GTK / Qt
system packages — out of scope for the unittest suite, so it is
deliberately omitted from the CI install. The unittest suite
imports neither.
- Runs `python -m unittest discover tests -v`.
Local sanity-check with the same command on Python 3.12: 137/137 OK.1 parent f8b3cb3 commit fec00ae
1 file changed
Lines changed: 30 additions & 0 deletions
| 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 | + | |
0 commit comments