-
Notifications
You must be signed in to change notification settings - Fork 23
Running regression tests
Michael Deistler edited this page Feb 21, 2025
·
1 revision
Jaxley
implements regression tests that ensure that that computational speed is at least as fast as before (when a new feature branch gets merged). Regression tests do not run automatically. Instead, you can trigger them on Github by commenting /test_regression
on any Pull Request. For an example, see here.
Alternatively, you can also run regression tests locally. For this, you first have to establish a baseline for your local machine. To do this, run:
git checkout main
NEW_BASELINE=1 pytest -m regression
and then run the regression tests on your feature branch with:
git checkout your_feature_branch
pytest -m regression