Add CI unit tests, network health RPC, and fix checkpoint tests

- Add unit test build+run steps to both Qt and headless Linux CI jobs
- Enhance getnetworkinfo RPC with networkhealth object (peer mix, bootstrap mode, sync status)
- Rewrite Checkpoints_tests to validate actual chain checkpoints (0, 9000, 9001, 2186940)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-22 21:53:47 -07:00
parent 65b9417c28
commit 73c183d1c0
5 changed files with 173 additions and 23 deletions
+12
View File
@@ -147,6 +147,12 @@ jobs:
- name: Build
run: make -j$(nproc)
- name: Run unit tests
run: |
cd src
make -f makefile.unix test_triangles -j$(nproc)
./test_triangles --log_level=test_suite
- name: Strip binary
run: strip --strip-all triangles-qt
@@ -183,6 +189,12 @@ jobs:
mkdir -p obj
make -f makefile.unix -j$(nproc)
- name: Run unit tests
run: |
cd src
make -f makefile.unix test_triangles -j$(nproc)
./test_triangles --log_level=test_suite
- name: Strip binary
run: strip --strip-all src/trianglesd