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

Improve CI pipeline build time. #1503

Closed
5 tasks done
acelaya opened this issue Aug 10, 2022 · 0 comments
Closed
5 tasks done

Improve CI pipeline build time. #1503

acelaya opened this issue Aug 10, 2022 · 0 comments
Milestone

Comments

@acelaya
Copy link
Member

acelaya commented Aug 10, 2022

  • Run more jobs in parallel when possible
    • Right now mutation tests don't start until all tests have finished, when every type of mutation tests only depends to its corresponding test type (unit, db, api and cli). Using local reusable workflows could help without duplicating code.
  • Setup PHP step is quite slow
    • Caching extensions might help, as openswoole could take time to install.
    • Reduce duplicated code if possible.
  • Uploading and downloading artifacts is quite slow.
    • We generate coiverage reports in many formats, but we don't need all of them. Try to upload only the cov and clover coverage, and avoid html one that includes a lot of files.
    • Check if it's possible to download only the corresponding code coverage when running mutation tests.
    • Check if it's possible to download only cov coverages when generating the full coverage to upload to codecov.
  • Running mutation tests is slower than other processes.
    • Maybe we should run mutation tests over changed code instead of all code.
    • Check if it's possible to not dump reports, and if that improves performance.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

1 participant