Skip to content

Commit 3e4c3ba

Browse files
committed
Update GitHub workflow
1 parent e07bb71 commit 3e4c3ba

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,18 @@ jobs:
2020
runs-on: ubuntu-latest
2121
strategy:
2222
matrix:
23-
python-version: ["3.10", "3.11", "3.12", "3.13"]
23+
# Note: 3.13t is the free-threaded version
24+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.13t"]
2425
include:
2526
# Default version
2627
- gymnasium-version: "1.0.0"
2728
# Add a new config to test gym<1.0
2829
- python-version: "3.10"
2930
gymnasium-version: "0.29.1"
3031
steps:
31-
- uses: actions/checkout@v3
32+
- uses: actions/checkout@v6
3233
- name: Set up Python ${{ matrix.python-version }}
33-
uses: actions/setup-python@v4
34+
uses: actions/setup-python@v6
3435
with:
3536
python-version: ${{ matrix.python-version }}
3637
- name: Install dependencies
@@ -40,7 +41,8 @@ jobs:
4041
pip install uv
4142
# cpu version of pytorch
4243
# See https://github.com/astral-sh/uv/issues/1497
43-
uv pip install --system torch==2.3.1+cpu --index https://download.pytorch.org/whl/cpu
44+
# Need Pytorch 2.9+ for Python 3.13
45+
uv pip install --system torch==2.9.1+cpu --index https://download.pytorch.org/whl/cpu
4446
4547
uv pip install --system .[extra,tests,docs]
4648
# Use headless version

0 commit comments

Comments
 (0)