mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-28 02:39:59 +00:00
Run py-fuzzer using Python 3.14 in CI (#20957)
This commit is contained in:
parent
68c1fa86c8
commit
09306a1d69
3 changed files with 6 additions and 5 deletions
7
.github/workflows/ci.yaml
vendored
7
.github/workflows/ci.yaml
vendored
|
|
@ -22,7 +22,7 @@ env:
|
|||
CARGO_TERM_COLOR: always
|
||||
RUSTUP_MAX_RETRIES: 10
|
||||
PACKAGE_NAME: ruff
|
||||
PYTHON_VERSION: "3.13"
|
||||
PYTHON_VERSION: "3.14"
|
||||
NEXTEST_PROFILE: ci
|
||||
|
||||
jobs:
|
||||
|
|
@ -557,7 +557,8 @@ jobs:
|
|||
persist-credentials: false
|
||||
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
||||
with:
|
||||
python-version: ${{ env.PYTHON_VERSION }}
|
||||
# TODO: figure out why `ruff-ecosystem` crashes on Python 3.14
|
||||
python-version: "3.13"
|
||||
|
||||
- uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
|
||||
name: Download comparison Ruff binary
|
||||
|
|
@ -711,7 +712,7 @@ jobs:
|
|||
--baseline-executable="${PWD}/ty" \
|
||||
--only-new-bugs \
|
||||
--bin=ty \
|
||||
0-500
|
||||
0-1000
|
||||
)
|
||||
|
||||
cargo-shear:
|
||||
|
|
|
|||
2
.github/workflows/daily_fuzz.yaml
vendored
2
.github/workflows/daily_fuzz.yaml
vendored
|
|
@ -49,7 +49,7 @@ jobs:
|
|||
# shellcheck disable=SC2046
|
||||
(
|
||||
uv run \
|
||||
--python=3.13 \
|
||||
--python=3.14 \
|
||||
--project=./python/py-fuzzer \
|
||||
--locked \
|
||||
fuzz \
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ def ruff_contains_bug(code: str, *, ruff_executable: Path) -> bool:
|
|||
"lint.select=[]",
|
||||
"--no-cache",
|
||||
"--target-version",
|
||||
"py313",
|
||||
"py314",
|
||||
"--preview",
|
||||
"-",
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue