@@ -58,32 +58,31 @@ jobs:
58
58
3.10
59
59
3.11
60
60
3.13
61
- pypy3.7
62
61
pypy3.8
63
62
pypy3.9
64
63
pypy3.10
65
64
3.12
66
65
check-latest : true
67
- allow-prereleases : true
68
66
- uses : PyO3/maturin-action@v1
69
67
with :
70
68
target : ${{ matrix.target }}
71
- args : --release --out dist --interpreter '3.7 3. 8 3.9 3.10 3.11 3.12 3.13 pypy3.7 pypy3.8 pypy3.9 pypy3.10'
69
+ args : --release --out dist --interpreter '3.8 3.9 3.10 3.11 3.12 3.13 pypy3.8 pypy3.9 pypy3.10'
72
70
sccache : " true"
73
71
manylinux : auto
74
72
- uses : actions/upload-artifact@v4
75
73
with :
76
74
name : wheels-linux-${{ matrix.target }}
77
75
path : dist
76
+ - uses : astral-sh/setup-uv@v3
77
+ with :
78
+ enable-cache : true
78
79
- name : pytest
79
80
if : ${{ !startsWith(github.ref, 'refs/tags/') && matrix.target == 'x86_64-unknown-linux-gnu' }}
80
81
run : |
81
82
set -e
82
- python3 -m venv .venv
83
- source .venv/bin/activate
84
- pip install --force-reinstall --find-links ../dist --disable-pip-version-check pyromark
85
- pip install -U --disable-pip-version-check -r ../requirements-tests.txt
86
- pytest
83
+ uv sync --no-install-project --frozen
84
+ uv pip install --find-links ../dist --no-index pyromark
85
+ uv run --no-sync pytest
87
86
working-directory : ./tests
88
87
windows :
89
88
runs-on : windows-latest
100
99
- uses : actions/setup-python@v5
101
100
with :
102
101
python-version : |
103
- 3.7
104
102
3.8
105
103
3.9
106
104
3.10
@@ -109,26 +107,26 @@ jobs:
109
107
3.12
110
108
architecture : ${{ matrix.architecture }}
111
109
check-latest : true
112
- allow-prereleases : true
113
110
- uses : PyO3/maturin-action@v1
114
111
with :
115
112
target : ${{ matrix.target }}
116
- args : --release --out dist --interpreter '3.7 3. 8 3.9 3.10 3.11 3.12 3.13'
113
+ args : --release --out dist --interpreter '3.8 3.9 3.10 3.11 3.12 3.13'
117
114
sccache : " true"
118
115
- uses : actions/upload-artifact@v4
119
116
with :
120
117
name : wheels-windows-${{ matrix.target }}
121
118
path : dist
119
+ - uses : astral-sh/setup-uv@v3
120
+ with :
121
+ enable-cache : true
122
122
- name : pytest
123
123
if : ${{ !startsWith(github.ref, 'refs/tags/') && matrix.target == 'x86_64-pc-windows-msvc' }}
124
124
shell : bash
125
125
run : |
126
126
set -e
127
- python3 -m venv .venv
128
- source .venv/Scripts/activate
129
- pip install --force-reinstall --find-links ../dist --disable-pip-version-check pyromark
130
- pip install -U --disable-pip-version-check -r ../requirements-tests.txt
131
- pytest
127
+ uv sync --no-install-project --frozen
128
+ uv pip install --find-links ../dist --no-index pyromark
129
+ uv run --no-sync pytest
132
130
working-directory : ./tests
133
131
macos :
134
132
runs-on : ${{ matrix.runner }}
@@ -145,42 +143,44 @@ jobs:
145
143
- uses : actions/setup-python@v5
146
144
with :
147
145
python-version : |
148
- ${{ matrix.target == 'x86_64-apple-darwin' && '3.7' || '' }}
149
146
3.8
150
147
3.9
151
148
3.10
152
149
3.11
153
150
3.13
154
- ${{ matrix.target == 'x86_64-apple-darwin' && 'pypy3.7' || '' }}
155
151
pypy3.8
156
152
pypy3.9
157
153
pypy3.10
158
154
3.12
159
155
check-latest : true
160
- allow-prereleases : true
161
156
- uses : PyO3/maturin-action@v1
162
157
with :
163
158
target : ${{ matrix.target }}
164
- args : --release --out dist --interpreter '3.7 3. 8 3.9 3.10 3.11 3.12 3.13 pypy3.7 pypy3.8 pypy3.9 pypy3.10'
159
+ args : --release --out dist --interpreter '3.8 3.9 3.10 3.11 3.12 3.13 pypy3.8 pypy3.9 pypy3.10'
165
160
sccache : " true"
166
161
- uses : actions/upload-artifact@v4
167
162
with :
168
163
name : wheels-macos-${{ matrix.target }}
169
164
path : dist
165
+ - uses : astral-sh/setup-uv@v3
166
+ with :
167
+ enable-cache : true
170
168
- name : pytest
171
169
if : ${{ !startsWith(github.ref, 'refs/tags/') && matrix.target == 'x86_64-apple-darwin' }}
172
170
run : |
173
171
set -e
174
- python3 -m venv .venv
175
- source .venv/bin/activate
176
- pip install --force-reinstall --find-links ../dist --disable-pip-version-check pyromark
177
- pip install -U --disable-pip-version-check -r ../requirements-tests.txt
178
- pytest
172
+ uv sync --no-install-project --frozen
173
+ uv pip install --find-links ../dist --no-index pyromark
174
+ uv run --no-sync pytest
179
175
working-directory : ./tests
180
176
sdist :
181
177
runs-on : ubuntu-latest
182
178
steps :
183
179
- uses : actions/checkout@v4
180
+ - uses : actions/setup-python@v5
181
+ with :
182
+ python-version : " 3.12"
183
+ check-latest : true
184
184
- uses : PyO3/maturin-action@v1
185
185
with :
186
186
command : sdist
0 commit comments