mirror of
https://github.com/uutils/coreutils.git
synced 2026-05-06 07:26:38 -04:00
test: add unit tests for compare_size_results.py
Mirrors test_compare_test_results.py: covers human_kb formatting, load_sizes (date-keyed and flat), compare() including threshold boundaries on both growth and shrinkage, format_report, and an end-to-end main() check that the comment file is only written when something significant is reported. Wired into code-quality.yml alongside the existing compare_test_results unit tests.
This commit is contained in:
@@ -226,7 +226,7 @@ jobs:
|
||||
- name: Run Python unit tests
|
||||
shell: bash
|
||||
run: |
|
||||
python3 -m unittest util/test_compare_test_results.py
|
||||
python3 -m unittest util/test_compare_test_results.py util/test_compare_size_results.py
|
||||
|
||||
pre_commit:
|
||||
name: Pre-commit hooks
|
||||
|
||||
Reference in New Issue
Block a user