5656 id : exclude
5757 run : |
5858 cat << 'EOF' > raw_exclude.txt
59+ # The following tests are excluded from CI runs. Some of these may be
60+ # worth investigating adding back into the CI
5961 tests::nakamoto_integrations::consensus_hash_event_dispatcher
6062 tests::neon_integrations::atlas_integration_test
6163 tests::neon_integrations::atlas_stress_integration_test
7274 tests::signer::v0::tenure_extend_after_2_bad_commits
7375 tests::stackerdb::test_stackerdb_event_observer
7476 tests::stackerdb::test_stackerdb_load_store
77+ # Epoch tests are covered by the epoch-tests CI workflow, and don't need to run
78+ # on every PR (for older epochs)
7579 tests::epoch_205::test_cost_limit_switch_version205
7680 tests::epoch_205::test_dynamic_db_method_costs
7781 tests::epoch_205::test_exact_block_costs
9397 tests::epoch_23::trait_invocation_behavior
9498 tests::epoch_24::fix_to_pox_contract
9599 tests::epoch_24::verify_auto_unlock_behavior
100+ # Disable this flaky test. We don't need continue testing Epoch 2 -> 3 transition
96101 tests::nakamoto_integrations::flash_blocks_on_epoch_3_FLAKY
102+ # These mempool tests take a long time to run, and are meant to be run manually
97103 tests::nakamoto_integrations::large_mempool_original_constant_fee
98104 tests::nakamoto_integrations::large_mempool_original_random_fee
99105 tests::nakamoto_integrations::large_mempool_next_constant_fee
@@ -118,16 +124,12 @@ jobs:
118124 jq -e 'type == "array"' ignored_tests.json > /dev/null
119125 jq -e 'type == "array"' exclude.json > /dev/null
120126
121- # Load exclude list into a jq variable
122- exclude_array=$(cat exclude.json)
127+ # Keep only ignored tests NOT in exclude list
128+ # First sort the inputs to use comm -23
129+ jq -r '.[]' ignored_tests.json | sort > ignored_sorted.txt
130+ jq -r '.[]' exclude.json | sort > exclude_sorted.txt
123131
124- # Filter ignored tests: keep only those NOT in exclude list
125- jq -c --argjson exclude "$exclude_array" '
126- .[] | select($exclude | contains([.]) | not)
127- ' ignored_tests.json > filtered_tests.json
128-
129- # Convert to plain text lines
130- jq -r '.' filtered_tests.json > filtered.txt
132+ comm -23 ignored_sorted.txt exclude_sorted.txt > filtered.txt
131133
132134 echo "Final test count: $(wc -l < filtered.txt)"
133135
0 commit comments