@@ -141,41 +141,50 @@ jobs:
141
141
make docs-build
142
142
143
143
integration-tests :
144
- needs : [combine-environments, unit-tests]
144
+ needs : [unit-tests]
145
145
if : |
146
146
success() && true
147
147
runs-on : ubuntu-latest
148
-
149
148
strategy :
150
149
matrix :
151
- include :
152
- - python-version : ' 3.10'
153
- extra : -integration
150
+ python-version :
151
+ - " 3.10"
152
+ - " 3.11"
153
+ - " 3.12"
154
154
155
155
steps :
156
156
- uses : actions/checkout@v4
157
- - uses : actions/download-artifact@v4
157
+
158
+ - name : Install uv and set the python version
159
+ uses : astral-sh/setup-uv@v5
158
160
with :
159
- name : combined-environments
160
- path : ci
161
- - name : Get current date
162
- id : date
163
- run : echo "date=$(date +%Y-%m-%d)" >> "${GITHUB_OUTPUT}"
164
- - uses : mamba-org/setup-micromamba@v2
161
+ python-version : ${{ matrix.python-version }}
162
+
163
+ - name : Install the project
164
+ run : uv sync --locked --dev
165
+
166
+ - name : Run tests
167
+ run : uv run pytest -vv
168
+
169
+ minver-tests :
170
+ needs : [unit-tests]
171
+ if : |
172
+ success() && true
173
+ runs-on : ubuntu-latest
174
+
175
+ steps :
176
+ - uses : actions/checkout@v4
177
+
178
+ - name : Install uv and set the python version
179
+ uses : astral-sh/setup-uv@v5
165
180
with :
166
- environment-file : ci/combined-environment${{ matrix.extra }}.yml
167
- environment-name : DEVELOP${{ matrix.extra }}
168
- cache-environment : true
169
- cache-environment-key : environment-${{ steps.date.outputs.date }}
170
- cache-downloads-key : downloads-${{ steps.date.outputs.date }}
171
- create-args : >-
172
- python=${{ matrix.python-version }}
173
- - name : Install package
174
- run : |
175
- python -m pip install --no-deps -e .
181
+ python-version : " 3.10"
182
+
183
+ - name : Install the project
184
+ run : uv sync --dev --resolution lowest-direct
185
+
176
186
- name : Run tests
177
- run : |
178
- make unit-tests COV_REPORT=xml
187
+ run : uv run pytest -vv
179
188
180
189
distribution :
181
190
runs-on : ubuntu-latest
0 commit comments