mirror of
https://github.com/clockworklabs/SpacetimeDB.git
synced 2026-05-13 11:17:50 -04:00
363f9212aa
- Rename existing smoketests job to use cargo smoketest (xtask) which handles pre-building binaries, using nextest, and optimal parallelism - Add cargo-nextest installation step for better parallel execution - Add new "Smoketests (Python Legacy)" job that runs the old Python smoketests alongside the Rust ones for comparison during transition - Add warn-python-smoketests job that posts a PR comment when Python smoketests are modified, encouraging use of Rust smoketests instead - Update smoketests/README.md to note the transition to Rust smoketests
626 B
626 B
Python Smoketests (Legacy)
Note: These Python smoketests are being replaced by Rust smoketests in
crates/smoketests/. Both test suites currently run in CI to ensure consistency during the transition.For new tests, please add them to the Rust smoketests. See
crates/smoketests/DEVELOP.mdfor instructions.
Running the Python Smoketests
To use the smoketests, you first need to install the dependencies:
python -m venv smoketests/venv
smoketests/venv/bin/pip install -r smoketests/requirements.txt
Then, run the smoketests like so:
smoketests/venv/bin/python -m smoketests <args>