Skip to content

Commit 8fda980

Browse files
committed
ci: Test Python 3.13 freethreaded
1 parent 989e134 commit 8fda980

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
fail-fast: false
112112
matrix:
113113
os: ["ubuntu-latest"]
114-
environment: ["test-core"]
114+
environment: ["test-core", "test-313t"]
115115
timeout-minutes: 30
116116
steps:
117117
- uses: holoviz-dev/holoviz_tasks/pixi_install@v0

pixi.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ test-310 = ["py310", "test-core", "test", "example", "test-example"]
1515
test-311 = ["py311", "test-core", "test", "example", "test-example"]
1616
test-312 = ["py312", "test-core", "test", "example", "test-example"]
1717
test-313 = ["py313", "test-core", "test", "example", "test-example"]
18+
test-313t = ["py313", "test-freethreading", "test-core"]
1819
test-core = ["py313", "test-core"]
1920
docs = ["py311", "example", "doc"]
2021
build = ["py311", "build"]
@@ -62,6 +63,14 @@ pytest-github-actions-annotate-failures = "*"
6263
[feature.test-core.tasks]
6364
test-unit = 'pytest tests'
6465

66+
[feature.test-freethreading.dependencies]
67+
psutil = "*"
68+
pytest-run-parallel = "*"
69+
python-freethreading = "*"
70+
71+
[feature.test-freethreading.tasks]
72+
test-unit = 'pytest tests --parallel-threads auto'
73+
6574
[feature.test.dependencies]
6675
cloudpickle = "*"
6776
ipython = "*"

0 commit comments

Comments
 (0)