langflow/.github/workflows
Gabriel Luiz Freitas Almeida 6bf60ece71
ci: add frontend test execution, reporting, and coverage in workflow (#8815)
* chore: add jest-junit dependency for improved test reporting

- Updated package.json and package-lock.json to include jest-junit version 16.0.0, enhancing test reporting capabilities in the project.

* chore: enhance Jest configuration for improved test coverage and CI reporting

- Added coverage collection settings, including coverage thresholds and report formats.
- Configured CI-specific options for Jest, including the use of jest-junit for test reporting and adjusted worker settings for better performance in CI environments.

* chore: update frontend test command for CI mode to ensure proper environment variable usage

- Modified the test command in the Makefile to set CI=true for accurate test execution in CI environments.

* chore: enhance frontend CI workflow with test reporting and coverage uploads

- Replaced the frontend dependency installation step with a command to run unit tests in CI mode.
- Added steps to publish test results using junit report and to comment on pull requests with coverage summaries.
- Implemented artifact upload for coverage reports to improve visibility and tracking of test coverage over time.

* chore: add frontend dependency installation step to CI workflow

- Introduced a step to install frontend dependencies using npm ci in the GitHub Actions workflow.
- This enhancement ensures that all necessary packages are available before running frontend unit tests, improving the reliability of the CI process.

* chore: update junit report action version in CI workflow

- Upgraded the junit report action from v5 to v5.5.1 in the GitHub Actions workflow to leverage the latest features and improvements for test result reporting.

* chore: add Jest unit test workflow for frontend

- Introduced a new GitHub Actions workflow to run Jest unit tests for the frontend.
- The workflow includes steps for checking out the repository, setting up the Node.js environment, running tests, publishing test results, adding coverage comments on pull requests, and uploading coverage reports.
- This enhancement improves the CI process by ensuring comprehensive testing and reporting for frontend components.

* chore: integrate Jest unit tests into CI workflow

- Added a new job to the CI workflow to run frontend unit tests using Jest.
- Updated the changes filter to include Jest test files, ensuring they are recognized during the CI process.
- This enhancement improves the testing coverage and reliability of the frontend components.
2025-07-01 20:38:10 +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 ci: add frontend test execution, reporting, and coverage in workflow (#8815) 2025-07-01 20:38:10 +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: bump node version in docs draft deploy workflow (#8742) 2025-06-25 16:11:40 -07:00
deploy_gh-pages.yml docs: update deploy_gh-pages.yml (#8741) 2025-06-25 23:20:29 +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 ci: add frontend test execution, reporting, and coverage in workflow (#8815) 2025-07-01 20:38:10 +00:00
js_autofix.yml build(deps):(deps): bump autofix-ci/action from ff86a557419858bb967097bfc916833f5647fa8c to 551dded8c6cc8a1054039c8bc0b8b48c51dfc6ef (#6058) 2025-02-03 15:21:10 +00:00
lint-js.yml bugfix: fix api request custom component (#2470) 2024-07-04 05:05:22 -07: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 ci: change nightly to run in UTC time to fix nightly-status check (#8629) 2025-06-20 14:23:40 +00: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 test: add pyleak for task and event loop block detections (#8802) 2025-07-01 13:07:25 +00:00
release.yml fix: replace instances of 127.0.0.1 to localhost (#8536) 2025-06-16 15:54:04 +00: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
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
typescript_test.yml ci: add frontend test execution, reporting, and coverage in workflow (#8815) 2025-07-01 20:38:10 +00:00