diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 389b964..cd644c0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,6 +24,12 @@ jobs: - name: Library and model tests run: timeout 10m cargo test --locked --lib + # The binary's own tests were never built here, so a test in src/main.rs + # could stop COMPILING and this workflow stayed green. One had: the + # `sync ls --json` schema test missed the `sweep` field added in #61. + - name: Binary tests + run: timeout 5m cargo test --locked --bins + - name: Deterministic fake two-machine folder sync run: >- timeout 5m cargo test --locked --lib diff --git a/src/main.rs b/src/main.rs index 6eca718..cb0001f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1147,6 +1147,7 @@ mod sync_ls_tests { full_scans: 17, inbound_noop_transactions: 11, inbound_guarded_transactions: 3, + sweep: "disabled".to_string(), } } @@ -1170,7 +1171,8 @@ mod sync_ls_tests { "mismatched": 0, "full_scans": 17, "inbound_noop_transactions": 11, - "inbound_guarded_transactions": 3 + "inbound_guarded_transactions": 3, + "sweep": "disabled" }) ); }