mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-17 13:57:25 +00:00
[ty] Ignore slow seeds as a temporary measure (#20870)
## Summary Basically what @AlexWaygood suggested [here](https://github.com/astral-sh/ruff/pull/20802#issuecomment-3402218389) (thank you). ## Test Plan CI on this PR
This commit is contained in:
parent
591e9bbccb
commit
f8e00e3cd9
2 changed files with 3 additions and 3 deletions
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
|
@ -142,7 +142,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
MERGE_BASE: ${{ steps.merge_base.outputs.sha }}
|
MERGE_BASE: ${{ steps.merge_base.outputs.sha }}
|
||||||
run: |
|
run: |
|
||||||
if git diff --quiet "${MERGE_BASE}...HEAD" -- 'python/py_fuzzer/**' \
|
if git diff --quiet "${MERGE_BASE}...HEAD" -- 'python/py-fuzzer/**' \
|
||||||
; then
|
; then
|
||||||
echo "changed=false" >> "$GITHUB_OUTPUT"
|
echo "changed=false" >> "$GITHUB_OUTPUT"
|
||||||
else
|
else
|
||||||
|
|
|
@ -152,8 +152,8 @@ class FuzzResult:
|
||||||
|
|
||||||
def fuzz_code(seed: Seed, args: ResolvedCliArgs) -> FuzzResult:
|
def fuzz_code(seed: Seed, args: ResolvedCliArgs) -> FuzzResult:
|
||||||
"""Return a `FuzzResult` instance describing the fuzzing result from this seed."""
|
"""Return a `FuzzResult` instance describing the fuzzing result from this seed."""
|
||||||
# TODO(carljm) debug slowness of this seed
|
# TODO debug slowness of these seeds
|
||||||
skip_check = seed in {208}
|
skip_check = seed in {32, 56, 208}
|
||||||
|
|
||||||
code = generate_random_code(seed)
|
code = generate_random_code(seed)
|
||||||
bug_found = False
|
bug_found = False
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue