Skip to content
Snippets Groups Projects
Commit 8eda9315 authored by Saurabh Kumar's avatar Saurabh Kumar
Browse files

Use circle CI parallelize to run test faster

parent 4a817efb
No related branches found
No related tags found
No related merge requests found
...@@ -96,7 +96,7 @@ jobs: ...@@ -96,7 +96,7 @@ jobs:
command: | command: |
python3 -m venv venv python3 -m venv venv
. venv/bin/activate . venv/bin/activate
pip install codecov pip install codecov pytest-circleci-parallelized
pip install -r requirements-dev.txt pip install -r requirements-dev.txt
- save_cache: - save_cache:
paths: paths:
...@@ -135,7 +135,7 @@ jobs: ...@@ -135,7 +135,7 @@ jobs:
python manage.py check python manage.py check
python manage.py makemigrations --check --noinput --verbosity=1 python manage.py makemigrations --check --noinput --verbosity=1
python manage.py collectstatic --noinput --no-post-process --verbosity=1 python manage.py collectstatic --noinput --no-post-process --verbosity=1
pytest --cov -n 2 pytest --cov -n 1 --circleci-parallelize
codecov codecov
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment