langflow/.github/workflows
Gabriel Luiz Freitas Almeida cd4464d6b1
refactor(tests): parameterize template tests and update timeout use (#9224)
* refactor: Simplify flow execution validation by removing unnecessary asyncio.wait_for calls

Updated the validate_flow_execution function to directly use the client.post and client.get methods with a timeout parameter, improving code readability and maintainability. This change eliminates redundant timeout handling while ensuring consistent timeout values across API calls.

* refactor: Enhance template tests for improved structure and validation

Refactored the template tests in `test_starter_projects.py` to utilize parameterization for better readability and maintainability. Introduced helper functions to retrieve template files and disabled tracing for all tests. Updated individual test methods to validate JSON structure, flow execution, and endpoint validation, ensuring comprehensive coverage of template functionality. This change streamlines the testing process and enhances the robustness of the test suite.

* refactor: Update project metadata and import paths in starter project JSON files

Modified the metadata section in multiple starter project JSON files to reflect updated code hashes and module paths, transitioning from 'lfx' to 'langflow' components. This change enhances consistency across the codebase and ensures that the correct modules are referenced for improved maintainability and clarity.

* chore: Update template test commands to utilize parallel execution

Modified the commands in the Makefile and CI workflows to include the `-n auto` option for pytest, enabling parallel test execution for the starter project template tests. This change enhances test performance and efficiency across the codebase.

* chore: Remove  news-aggregated.json file

Deleted the news-aggregated.json file

* Update test_template_validation.py

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-29 22:32:48 +00:00
..
matchers Update linting workflows for frontend and Python code (#2171) 2024-06-14 06:27:48 -07:00
add-labels.yml ci: add issues permission to Manage Labels workflow (#5706) 2025-01-15 16:34:22 -08:00
auto-update.yml bugfix: fix api request custom component (#2470) 2024-07-04 05:05:22 -07:00
ci.yml refactor(tests): parameterize template tests and update timeout use (#9224) 2025-07-29 22:32:48 +00:00
codeflash.yml chore(ci): replace local uv setup action with astral-sh/setup-uv@v6 (#8491) 2025-06-11 18:56:04 +00:00
codeql.yml Bump github/codeql-action from 2 to 3 (#1420) 2024-02-15 10:49:28 -03:00
conventional-labels.yml build(deps):(deps): bump Namchee/conventional-pr from 0.15.5 to 0.15.6 (#6059) 2025-02-03 15:21:04 +00:00
create-release.yml ci: Add GitHub Actions workflow for creating releases (#4587) 2024-11-13 16:11:30 -08:00
deploy-docs-draft.yml docs: Configure Segment (#8996) 2025-07-11 04:39:19 +00:00
deploy_gh-pages.yml docs: Configure Segment (#8996) 2025-07-11 04:39:19 +00:00
docker-build.yml chore(ci): replace local uv setup action with astral-sh/setup-uv@v6 (#8491) 2025-06-11 18:56:04 +00:00
docker_test.yml fix: docker test trigger for poetry is wrong now is uv (#6743) 2025-03-13 00:33:41 +00:00
docs-update-openapi.yml build(deps):(deps): bump actions/checkout from 3 to 4 (#7379) 2025-04-01 14:32:17 +00:00
docs_test.yml chore: use yarn only (#6141) 2025-02-06 17:44:46 +00:00
fetch_docs_notion.yml chore: use yarn only (#6141) 2025-02-06 17:44:46 +00:00
integration_tests.yml chore(ci): replace local uv setup action with astral-sh/setup-uv@v6 (#8491) 2025-06-11 18:56:04 +00:00
jest_test.yml feat: added code coverage reporting (#9081) 2025-07-21 14:03:34 +00:00
js_autofix.yml feat: Move to Biome for linting and formatting (#8997) 2025-07-15 18:46:51 +00:00
lint-js.yml feat: Move to Biome for linting and formatting (#8997) 2025-07-15 18:46:51 +00:00
lint-py.yml chore(ci): replace local uv setup action with astral-sh/setup-uv@v6 (#8491) 2025-06-11 18:56:04 +00:00
nightly_build.yml chore: add required API key secrets for CI workflows (#8877) 2025-07-04 09:56:52 -03:00
py_autofix.yml chore(ci): update workflow to use astral-sh/setup-uv@v6 with Python version (#8508) 2025-06-12 09:30:29 -03:00
python_test.yml feat: added code coverage reporting (#9081) 2025-07-21 14:03:34 +00:00
release.yml chore: update GitHub Actions workflow to inherit secrets (#8922) 2025-07-08 09:59:46 -03:00
release_nightly.yml chore(workflow): comment out Docker build step for langflow-all in nightly release (#8727) 2025-06-26 17:27:03 +00:00
smoke-tests.yml feat: Add smoke tests workflow for PR validation (#9125) 2025-07-28 18:27:05 +00:00
store_pytest_durations.yml chore(ci): replace local uv setup action with astral-sh/setup-uv@v6 (#8491) 2025-06-11 18:56:04 +00:00
style-check-py.yml chore(ci): replace local uv setup action with astral-sh/setup-uv@v6 (#8491) 2025-06-11 18:56:04 +00:00
template-tests.yml refactor(tests): parameterize template tests and update timeout use (#9224) 2025-07-29 22:32:48 +00:00
typescript_test.yml fix: add data-testid to new project button in EmptyFolder component (#9222) 2025-07-29 08:56:14 -03:00