Commit Graph

5 Commits

Author SHA1 Message Date
Divyansh Shukla b3fcd8a21f feat: Add ability to run individual unit tests to unittests.sh
PiperOrigin-RevId: 888314229
2026-03-23 15:38:23 -07:00
Divyansh Shukla e6476c9790 fix: Prevent uv.lock modifications in unittests.sh
PiperOrigin-RevId: 884597343
2026-03-16 13:01:15 -07:00
Divyansh Shukla 6f6fd955f6 fix: Fix IDE hangs by moving test venv and cache to /tmp
PiperOrigin-RevId: 882270600
2026-03-11 17:04:24 -07:00
Liang Wu 845818be44 ci: only use --extra test for unit tests
This can fix unit test github action error by removing `--extra eval`. `--extra a2a` is not needed because it's included in `test`. All tests are still passing.

Co-authored-by: Liang Wu <wuliang@google.com>
PiperOrigin-RevId: 869014318
2026-02-11 21:39:48 -08:00
Liang Wu 025b42c836 chore: Add unittests.sh script and update CONTRIBUTING.md
This change introduces a new `unittests.sh` script to simplify running unit tests. The script automatically sets up a minimal test environment, runs `pytest`, and then restores the previous development environment. The CONTRIBUTING.md has been updated to include instructions on using this new script.

Co-authored-by: Liang Wu <wuliang@google.com>
PiperOrigin-RevId: 860222798
2026-01-23 13:01:06 -08:00