* Update TypeScript CI workflow: streamline suite selection and dependency setup - Set default test suites to an empty array to dynamically determine suites based on changes. - Ensure compact JSON output for test suites. - Simplify Node.js and Playwright setup by using built-in caching and custom actions. - Add UV_CACHE_DIR environment variable for caching. * Expand test coverage paths in changes-filter.yaml configuration
70 lines
2.2 KiB
YAML
70 lines
2.2 KiB
YAML
# https://github.com/dorny/paths-filter
|
|
python:
|
|
- "src/backend/**"
|
|
- "src/backend/**.py"
|
|
- "pyproject.toml"
|
|
- "poetry.lock"
|
|
- "**/python_test.yml"
|
|
components-changes:
|
|
- "src/backend/base/langflow/components/**"
|
|
starter-projects-changes:
|
|
- "src/backend/base/langflow/initial_setup/**"
|
|
frontend-tests:
|
|
- "src/frontend/tests/**"
|
|
frontend:
|
|
- "src/frontend/**"
|
|
- "**/typescript_test.yml"
|
|
docs:
|
|
- "docs/**"
|
|
|
|
# Test categories and their associated paths
|
|
starter-projects:
|
|
- "src/backend/base/langflow/initial_setup/**"
|
|
- "src/frontend/src/pages/MainPage/**"
|
|
- "src/frontend/src/utils/reactflowUtils.ts"
|
|
- "src/frontend/tests/extended/features/**"
|
|
|
|
components:
|
|
- "src/frontend/src/components/**"
|
|
- "src/frontend/src/modals/**"
|
|
- "src/frontend/src/pages/FlowPage/**"
|
|
- "src/frontend/src/shared/**"
|
|
- "src/frontend/src/hooks/**"
|
|
- "src/frontend/src/CustomNodes/**"
|
|
- "src/frontend/src/style/**"
|
|
- "src/frontend/src/utils/styleUtils.ts"
|
|
- "src/backend/base/langflow/components/**"
|
|
- "src/frontend/tests/core/features/**"
|
|
- "src/frontend/tests/core/integrations/**"
|
|
- "src/frontend/tests/core/regression/**"
|
|
- "src/frontend/tests/extended/integrations/**"
|
|
- "src/frontend/tests/extended/features/**"
|
|
- "src/frontend/tests/extended/regression/**"
|
|
|
|
workspace:
|
|
- "src/backend/base/langflow/inputs/**"
|
|
- "src/frontend/src/components/core/parameterRenderComponent/**"
|
|
- "src/frontend/src/CustomNodes/**"
|
|
- "src/frontend/src/modals/**"
|
|
- "src/frontend/src/style/**"
|
|
- "src/frontend/src/CustomEdges/**"
|
|
- "src/frontend/src/utils/reactflowUtils.ts"
|
|
- "src/frontend/src/utils/buildUtils.ts"
|
|
- "src/frontend/tests/core/features/**"
|
|
- "src/frontend/tests/core/unit/**"
|
|
- "src/frontend/tests/extended/features/**"
|
|
- "src/frontend/tests/core/regression/**"
|
|
|
|
api:
|
|
- "src/backend/base/langflow/api/**"
|
|
- "src/frontend/src/controllers/**"
|
|
- "src/frontend/tests/core/features/**"
|
|
- "src/frontend/tests/extended/features/**"
|
|
- "src/frontend/tests/extended/regression/**"
|
|
|
|
database:
|
|
- "src/backend/base/langflow/services/database/**"
|
|
- "src/backend/base/langflow/alembic/**"
|
|
- "src/frontend/src/controllers/**"
|
|
- "src/frontend/tests/core/features/**"
|
|
- "src/frontend/tests/extended/features/**"
|