Commit 8e892e2
committed
Add CI testing for slangpy-samples (#8938)
Adds testing for the
[slangpy-samples](https://github.com/shader-slang/slangpy-samples)
repository to provide integration testing of slangpy with real-world
examples.
# Implementation
The `test-slangpy` job now includes slangpy-samples testing alongside
the existing slangpy pytest tests. After running slangpy's own tests,
the job:
1. Clones the `slangpy-samples` repository
2. Installs dependencies from `requirements.txt`
3. Runs `pytest -n 4 slangpy-samples/tests` (parallel execution with 4
workers)
The implementation follows the [original issue's preferred
solution](#8186 (comment)).
# When It Runs
Same conditions as the main slangpy tests, ensuring we test integration
examples alongside the core slangpy functionality.
Fixes #81861 parent 7e4a89b commit 8e892e2
1 file changed
+25
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| 162 | + | |
162 | 163 | | |
163 | 164 | | |
164 | 165 | | |
| |||
231 | 232 | | |
232 | 233 | | |
233 | 234 | | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
242 | 243 | | |
243 | 244 | | |
244 | 245 | | |
245 | 246 | | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
0 commit comments