Skip to content

Commit

Permalink
Added paralel test implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
riadelimemmedov committed Mar 23, 2024
1 parent 98374c1 commit cdcd7ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ jobs:
run: |
python -m poetry install
- name: Run tests
run: poetry run pytest -s
- name: Run tests paralel
run: poetry run pytest -n auto

- name: Run tests with pytest
run: poetry run pytest --cov=./ --cov-report=xml
Expand Down
2 changes: 2 additions & 0 deletions commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ Backend
- `poetry run pytest -k`
- Run tests until failure:
- `poetry run pytest -x`
- Run tests paralel:
- `poetry run pytest -n auto`
- Format code using Black:
- `poetry run black .`
- Generate html for covering tests:
Expand Down

0 comments on commit cdcd7ba

Please sign in to comment.