Commit 1bc00d9
Run Android host tests in CI and exclude them from the APK
The host tests under platforms/android/app/src/main/python/tests had no
CI coverage and, living under the Chaquopy source dir, would have been
bundled into the shipped APK.
Add an android_platform_tests job to the Python tests workflow that runs
them from the repo root against the root pytest.ini (they need Kolibri's
Django test settings and kolibri/dist pythonpath), and exclude tests/**
from the Chaquopy python source set so they stay out of the built app.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent bc55700 commit 1bc00d9
2 files changed
Lines changed: 34 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
388 | 417 | | |
389 | 418 | | |
390 | 419 | | |
| |||
414 | 443 | | |
415 | 444 | | |
416 | 445 | | |
| 446 | + | |
417 | 447 | | |
418 | 448 | | |
419 | 449 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
302 | 306 | | |
303 | 307 | | |
304 | 308 | | |
| |||
0 commit comments