diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 935ff52f4..4a55c7610 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -40,9 +40,9 @@ jobs: shell: bash env: SKIP: disallowed-words-check,circleci_validate - - uses: stefanzweifel/git-auto-commit-action@v5 # Always commit changes even if pre-commit failed if: always() with: commit_message: "Automated pre-commit update" + push_options: "--no-verify" diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 1aa161a99..5d3716f31 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -93,7 +93,7 @@ jobs: parse-tests: # changing the following value will significantly affect github's cost. Be careful and consult with the team before changing it. runs-on: ubuntu-latest-32 - if: contains(github.event.pull_request.labels.*.name, 'extra-parse') || github.event_name == 'push' || github.event_name == 'workflow_dispatch' + if: contains(github.event.pull_request.labels.*.name, 'parse-tests') || github.event_name == 'push' || github.event_name == 'workflow_dispatch' steps: - uses: actions/checkout@v4 @@ -116,7 +116,7 @@ jobs: uv run pytest \ -n auto \ -o junit_suite_name="${{github.job}}" \ - tests/codemod/test_parse.py + tests/integration/codemod/test_parse.py - uses: ./.github/actions/report with: flag: no-flag diff --git a/pyproject.toml b/pyproject.toml index 76ef136ea..2ed2133b5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -113,7 +113,6 @@ dev-dependencies = [ # "scalene>=1.5.45", "filelock<4.0.0,>=3.15.4", "pytest>=8.3.3", - "pytest-asyncio>=0.23.5", "pytest-cov>=6.0.0,<6.0.1", "ruff>=0.6.8", "mypy[mypyc,faster-cache]>=1.13.0", diff --git a/uv.lock b/uv.lock index 203c3cd99..4eb7025db 100644 --- a/uv.lock +++ b/uv.lock @@ -453,7 +453,6 @@ dev = [ { name = "pre-commit" }, { name = "pre-commit-uv" }, { name = "pytest" }, - { name = "pytest-asyncio" }, { name = "pytest-benchmark", extra = ["histogram"] }, { name = "pytest-cov" }, { name = "pytest-mock" }, @@ -548,7 +547,6 @@ dev = [ { name = "pre-commit", specifier = ">=4.0.1" }, { name = "pre-commit-uv", specifier = ">=4.1.4" }, { name = "pytest", specifier = ">=8.3.3" }, - { name = "pytest-asyncio", specifier = ">=0.23.5" }, { name = "pytest-benchmark", extras = ["histogram"], specifier = ">=5.1.0" }, { name = "pytest-cov", specifier = ">=6.0.0,<6.0.1" }, { name = "pytest-mock", specifier = ">=3.14.0,<4.0.0" }, @@ -2014,18 +2012,6 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/11/92/76a1c94d3afee238333bc0a42b82935dd8f9cf8ce9e336ff87ee14d9e1cf/pytest-8.3.4-py3-none-any.whl", hash = "sha256:50e16d954148559c9a74109af1eaf0c945ba2d8f30f0a3d3335edde19788b6f6", size = 343083 }, ] -[[package]] -name = "pytest-asyncio" -version = "0.25.3" -source = { registry = "https://pypi.org/simple" } -dependencies = [ - { name = "pytest" }, -] -sdist = { url = "https://files.pythonhosted.org/packages/f2/a8/ecbc8ede70921dd2f544ab1cadd3ff3bf842af27f87bbdea774c7baa1d38/pytest_asyncio-0.25.3.tar.gz", hash = "sha256:fc1da2cf9f125ada7e710b4ddad05518d4cee187ae9412e9ac9271003497f07a", size = 54239 } -wheels = [ - { url = "https://files.pythonhosted.org/packages/67/17/3493c5624e48fd97156ebaec380dcaafee9506d7e2c46218ceebbb57d7de/pytest_asyncio-0.25.3-py3-none-any.whl", hash = "sha256:9e89518e0f9bd08928f97a3482fdc4e244df17529460bc038291ccaf8f85c7c3", size = 19467 }, -] - [[package]] name = "pytest-benchmark" version = "5.1.0"