oncall-engine/engine
Joey Orlando aca2804502
add pytest-xdist to speed up backend tests (#3839)
# What this PR does

Speeds up `pytest` test execution by ~30%.

More specifically, adds
[`pytest-xdist`](https://pytest-xdist.readthedocs.io/en/stable/), which
according to their docs:
> plugin extends pytest with new test execution modes, the most used
being distributing tests across multiple CPUs to speed up test execution

**Before**
<img width="270" alt="Screenshot 2024-02-05 at 15 53 13"
src="https://github.com/grafana/oncall/assets/9406895/4da33299-5bd0-4dc3-86e1-32cfdf9106f7">

**After**
<img width="254" alt="Screenshot 2024-02-05 at 15 53 04"
src="https://github.com/grafana/oncall/assets/9406895/a59eeb52-291d-4cdc-82b2-55fd31e1c1c5">
2024-02-05 16:04:15 -05:00
..
apps add pytest-xdist to speed up backend tests (#3839) 2024-02-05 16:04:15 -05:00
common update request body to Cloud Auth API POST /v1/sign API call (#3838) 2024-02-05 14:56:48 -05:00
config_integrations Improve template to handle empty group labels (#2794) 2023-08-17 07:52:05 +00:00
engine Add ability to migrate one org (#3809) 2024-02-01 18:25:36 +08:00
settings expose OUTGOING_WEBHOOK_TIMEOUT as env var (#3801) 2024-02-01 10:48:09 -05:00
static/images remove django admin panel (#2731) 2023-08-02 14:26:50 -04:00
type_stubs/icalendar continue addressing mypy violations (#2170) 2023-06-27 10:23:08 +00:00
.dockerignore One startup command to rule them all (#760) 2022-11-07 16:34:43 +01:00
.gitignore modify push notification settings + use fcm-django library (#998) 2022-12-20 12:41:34 +01:00
celery_with_exporter.sh Add flag to debug logs (#912) 2022-11-29 11:16:42 +08:00
conftest.py Enable labels feature only if labels plugin is enabled (#3769) 2024-01-30 07:29:16 +00:00
Dockerfile Revert "upgrade to Python 3.12 (#3456)" and "bump uwsgi version to latest #3466" (#3483) 2023-12-01 09:56:26 -05:00
manage.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
pyproject.toml patch occasional UnicodeEncodeError that occurs with outgoing webhooks (#3832) 2024-02-02 21:08:04 +00:00
requirements-dev.txt add pytest-xdist to speed up backend tests (#3839) 2024-02-05 16:04:15 -05:00
requirements.txt mobile app proxy - request auth token from cloud auth api (#3748) 2024-01-25 13:46:55 -05:00
tox.ini add pytest-xdist to speed up backend tests (#3839) 2024-02-05 16:04:15 -05:00
uwsgi.ini Use Tilt for local development (#1396) 2023-09-07 19:38:19 +08:00
wait_for_test_mysql_start.sh Revert "Revert "speed up ci builds from 15 to <7 minutes"" (#1643) 2023-03-28 09:34:03 +02:00