Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: [DHIS2-17458] enhance CI #378

Merged
merged 1 commit into from
Jun 3, 2024
Merged

chore: [DHIS2-17458] enhance CI #378

merged 1 commit into from
Jun 3, 2024

Conversation

adeldhis2
Copy link
Contributor

@adeldhis2 adeldhis2 commented May 27, 2024

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-17458.

@adeldhis2 adeldhis2 changed the title chore: [DHIS2-17458] enhance CI with conditional e2e tests recording in Cypress Cloud and parallel execution in GitHub Actions chore: [DHIS2-17458] enhance CI May 27, 2024
@dhis2-bot
Copy link
Contributor

dhis2-bot commented May 27, 2024

🚀 Deployed on https://pr-378--dhis2-data-entry.netlify.app

@dhis2-bot dhis2-bot temporarily deployed to netlify May 27, 2024 06:52 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify May 27, 2024 07:09 Inactive
@adeldhis2 adeldhis2 added e2e record Apply this label to a pull request to trigger recording of E2E tests on Cypress Cloud and removed e2e record Apply this label to a pull request to trigger recording of E2E tests on Cypress Cloud labels May 27, 2024
@dhis2-bot dhis2-bot temporarily deployed to netlify May 27, 2024 08:21 Inactive
@adeldhis2 adeldhis2 added the e2e record Apply this label to a pull request to trigger recording of E2E tests on Cypress Cloud label May 27, 2024
@adeldhis2 adeldhis2 marked this pull request as ready for review May 27, 2024 08:39
@adeldhis2 adeldhis2 removed the e2e record Apply this label to a pull request to trigger recording of E2E tests on Cypress Cloud label May 27, 2024
with conditional e2e tests recording in Cypress Cloud
and parallel execution in GitHub Actions

chore: fix workflow and enable yarn caching
@adeldhis2 adeldhis2 force-pushed the cypress-cloud-record branch from 481d2cb to a749c5f Compare May 27, 2024 09:16
@dhis2-bot dhis2-bot temporarily deployed to netlify May 27, 2024 09:18 Inactive
@kabaros kabaros merged commit 30037eb into master Jun 3, 2024
19 checks passed
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 100.6.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants