You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/main.yml
+16-24
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ jobs:
37
37
# This fails in pytest with:
38
38
# CSC : error CS4023: /platform:anycpu32bitpreferred can only be used with /t:exe, /t:winexe and /t:appcontainerexe [D:\a\pythonnet\pythonnet\src\runtime\Python.Runtime.csproj]
39
39
exclude:
40
-
- os:
40
+
- os:
41
41
category: windows
42
42
platform: x86
43
43
python: "3.13"
@@ -57,60 +57,52 @@ jobs:
57
57
with:
58
58
dotnet-version: '6.0.x'
59
59
60
-
- name: Set up Python ${{ matrix.python }}
61
-
uses: actions/setup-python@v2
60
+
- name: Install the latest version of uv
61
+
uses: astral-sh/setup-uv@v4
62
62
with:
63
-
python-version: ${{ matrix.python }}
64
63
architecture: ${{ matrix.os.platform }}
64
+
python-version: ${{ matrix.python }}
65
+
enable-cache: true
65
66
66
67
- name: Install dependencies
67
68
run: |
68
-
pip install --upgrade -r requirements.txt
69
-
pip install numpy # for tests
70
-
71
-
- name: Build and Install
72
-
run: |
73
-
pip install -v .
69
+
uv venv --python ${{ matrix.python }}
70
+
uv sync
74
71
75
72
- name: Set Python DLL path and PYTHONHOME (non Windows)
0 commit comments