Skip to content

Commit 3770fcd

Browse files
committed
ci: add windows compatibility checks
1 parent dec97ed commit 3770fcd

File tree

1 file changed

+25
-3
lines changed

1 file changed

+25
-3
lines changed

.github/workflows/python-compatibility.yml

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: 🐍 Python Compatibility Check
22
on: [ push ]
33

44
jobs:
5-
python-compatibility:
5+
linux-python-compatibility:
66
runs-on: ubuntu-latest
77
strategy:
88
matrix:
@@ -12,7 +12,7 @@ jobs:
1212
uses: actions/checkout@v4
1313

1414
- name: Install uv
15-
uses: astral-sh/setup-uv@v3
15+
uses: astral-sh/setup-uv@v6
1616

1717
- name: Set up Python ${{ matrix.python-version }}
1818
run: uv python install ${{ matrix.python-version }}
@@ -22,4 +22,26 @@ jobs:
2222
export LC_ALL=C.UTF-8
2323
export LANG=C.UTF-8
2424
uv python pin ${{ matrix.python-version }}
25-
uv run rio
25+
DEBUG=true uv run rio
26+
27+
windows-python-compatibility:
28+
runs-on: windows-latest
29+
permissions:
30+
contents: read
31+
strategy:
32+
matrix:
33+
python-version: [ '3.8.10', '3.9', '3.10', '3.11', '3.12', '3.13' ]
34+
steps:
35+
- name: Checkout Code
36+
uses: actions/checkout@v4
37+
38+
- name: Install uv
39+
uses: astral-sh/setup-uv@v6
40+
41+
- name: Set up Python ${{ matrix.python-version }}
42+
run: uv python install ${{ matrix.python-version }}
43+
44+
- name: Run the CLI
45+
run: |
46+
uv python pin ${{ matrix.python-version }}
47+
DEBUG=true uv run rio

0 commit comments

Comments
 (0)