dhis2 / ui

Components and related resources for the DHIS2 design system
https://ui.dhis2.nu
BSD 3-Clause "New" or "Revised" License
40 stars 15 forks source link

chore: [DHIS2-17375] optimise Cypress triggers and refine parallel execution in GitHub Actions #1507

Closed adeldhis2 closed 4 months ago

adeldhis2 commented 5 months ago

Key Changes:

Conditional Recording Triggers: Implemented conditional recording triggers via commit messages and GitHub labels to ensure that Cypress tests are only recorded when necessary. Parallel Execution Strategies: Refined parallel execution strategies to improve efficiency and resolve test redundancies in GitHub Actions. Debugging Enhancements: Added detailed debugging outputs to help track the dynamic values of the test environment variables and ensure correct parameter passing in the workflow. Update Documentation: Updated the documentation to reflect the changes and ensure clarity on the new CI/CD processes.

Expected Outcomes:

Reduced Cypress Cloud Credit Usage: By optimising the conditions under which tests are recorded and uploaded to Cypress Cloud, we anticipate a significant reduction in credit usage. Increased CI Efficiency: With better management of parallel execution and conditional testing, the CI process should be more efficient, leading to quicker test cycles.

Relevant Links:

GitHub Actions Run: View Run Cypress Cloud Run: View Run

Jira Ticket:

For more details, please refer to the Jira ticket: DHIS2-17375.

dhis2-bot commented 5 months ago

🚀 Deployed on https://pr-1507--dhis2-ui.netlify.app

cypress[bot] commented 5 months ago

Passing run #3399 ↗︎

0 584 0 0 Flakiness 0

Details:

chore: [DHIS2-17375] optimise Cypress triggers and refine parallel execution in ...
Project: ui Commit: 87621d0087
Status: Passed Duration: 06:13 💡
Started: May 26, 2024 4:45 PM Ended: May 26, 2024 4:51 PM

Review all test suite changes for PR #1507 ↗︎

dhis2-bot commented 4 months ago

:tada: This PR is included in version 9.7.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: