diff --git a/.github/workflows/_checks.yml b/.github/workflows/_checks.yml index e5b41c4..90b8116 100644 --- a/.github/workflows/_checks.yml +++ b/.github/workflows/_checks.yml @@ -12,8 +12,8 @@ jobs: with: enable-cache: true cache-dependency-glob: "**/pyproject.toml" - - run: uv python install 3.13 - - run: uv python pin 3.13 + - run: uv python install 3.11 + - run: uv python pin 3.11 - run: just install lint-ci pytest: @@ -50,7 +50,7 @@ jobs: - uses: astral-sh/setup-uv@v8.2.0 - run: uv python install ${{ matrix.python-version }} - run: uv python pin ${{ matrix.python-version }} - - run: uv sync --all-extras --no-install-project + - run: just install - name: Confirm the interpreter is free-threaded if: matrix.python-version == '3.14t' run: uv run --no-sync python -c "import sys, db_retry; assert not sys._is_gil_enabled(), 'GIL is enabled on a t-build'" diff --git a/pyproject.toml b/pyproject.toml index b994044..ff4506f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -92,6 +92,7 @@ isort.no-lines-before = ["standard-library", "local-folder"] "tests/**" = ["S101"] [tool.pytest.ini_options] +testpaths = ["tests"] addopts = "" asyncio_mode = "auto" asyncio_default_fixture_loop_scope = "function"