chore(ci): bring back poetry cache to speed up CI jobs (#10347)

This commit is contained in:
Bowen Liang
2024-11-06 13:55:29 +08:00
committed by Joel
parent 0d74466f45
commit 9c90d98027
5 changed files with 22 additions and 22 deletions

View File

@ -76,13 +76,13 @@
1. Install dependencies for both the backend and the test environment
```bash
poetry install --with dev
poetry install -C api --with dev
```
2. Run the tests locally with mocked system environment variables in `tool.pytest_env` section in `pyproject.toml`
```bash
cd ../
poetry run -C api bash dev/pytest/pytest_all_tests.sh
```