Skip to content

Commit ccb8979

Browse files
committed
update
1 parent efc1c05 commit ccb8979

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

template/.github/workflows/tests.yml.jinja

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,20 @@ jobs:
66
strategy:
77
fail-fast: false
88
matrix:
9-
python-version: ["3.10", "3.11", "3.12", "3.13"]
9+
python-version: [
10+
{%- for version in py_versions_range(python_min_version, python_max_version) %}
11+
"{{ version }}"{{ "," if not loop.last }}
12+
{%- endfor %}
13+
]
1014
steps:
1115
- uses: actions/checkout@v4
1216
- name: Install uv
1317
uses: astral-sh/setup-uv@v3
18+
{% raw %}
1419
- name: Set up Python ${{ matrix.python-version }}
1520
run: uv python install ${{ matrix.python-version }}
1621
- name: Install dependencies
1722
run: uv sync --extra test --python ${{ matrix.python-version }}
23+
{% endraw %}
1824
- name: Run pytest
1925
run: uv run pytest -v

0 commit comments

Comments
 (0)