Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
enable-cache: true
- name: Install just
uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4.0.0
with:
just-version: "1.43.1"
- name: Run type checking
run: just typing

Expand All @@ -61,6 +63,8 @@ jobs:
enable-cache: true
- name: Install just
uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4.0.0
with:
just-version: "1.43.1"
- name: Run tests
run: just test

Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ repos:
- id: python-use-type-annotations
- id: text-unicode-replacement-char
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.10
rev: v0.15.12
hooks:
- id: ruff-check
- id: ruff-format
Expand Down
17 changes: 16 additions & 1 deletion tests/test_execute.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
from __future__ import annotations

import os
import sys
import textwrap
from time import time

Expand Down Expand Up @@ -262,7 +264,20 @@ def test_task_without_path_that_return(runner, tmp_path, parallel_backend):
)


@pytest.mark.parametrize("flag", ["--pdb", "--trace", "--dry-run"])
@pytest.mark.parametrize(
"flag",
[
"--pdb",
pytest.param(
"--trace",
marks=pytest.mark.xfail(
sys.version_info[:2] == (3, 14) and os.environ.get("CI") == "true",
reason="Python 3.14 exits the CI debugger session with a failure.",
),
),
"--dry-run",
],
)
@pytest.mark.parametrize("parallel_backend", _IMPLEMENTED_BACKENDS)
def test_parallel_execution_is_deactivated(runner, tmp_path, flag, parallel_backend):
tmp_path.joinpath("task_example.py").write_text("def task_example(): pass")
Expand Down