Skip to content

Commit

Permalink
remove pytest test logic in shell script
Browse files Browse the repository at this point in the history
  • Loading branch information
bhnvx committed Mar 8, 2024
1 parent a365658 commit 6a69b8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ branch = true
omit = [
".mypy_cache/**/*",
".pytest_cache/**/*",
"app/**/test.py",
"app/**/tests.py",
"manage.py"
]
source = ["app"]
Expand Down
4 changes: 2 additions & 2 deletions shell/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ echo "Sort pyproject.toml"
poetry run toml-sort pyproject.toml --all --in-place
echo "OK"

echo "Starting pytest with coverage"
poetry run coverage run -m pytest
echo "Starting Django test with coverage"
poetry run coverage run manage.py test
poetry run coverage report -m
poetry run coverage html

Expand Down

0 comments on commit 6a69b8f

Please sign in to comment.