chore: add --ignore=tests/integration flag from pytest command in pyproject.toml and remove unit (#2468)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-07-05 13:08:44 -03:00 committed by GitHub
commit 5da1130f84
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -154,10 +154,9 @@ markers = ["async_test", "api_key_required"]
[tool.coverage.run]
command_line = """
-m pytest
-m pytest --ignore=tests/integration
--cov --cov-report=term --cov-report=html
--instafail -ra -n auto -m "not api_key_required"
tests/unit
"""
source = ["src/backend/base/langflow/"]
omit = ["*/alembic/*", "tests/*", "*/__init__.py"]