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

Update ci-testing.yml #11079

Merged
merged 5 commits into from
Feb 28, 2023
Merged

Update ci-testing.yml #11079

merged 5 commits into from
Feb 28, 2023

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Feb 28, 2023

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Enhancement of CI caching for Python dependencies in the 'ultralytics/yolov5' repository.

πŸ“Š Key Changes

  • Implemented a new step to determine the cache directory for Python pip dependencies.
  • Re-enabled caching for pip in the CI workflow, tuned specifically for different operating systems and Python versions.
  • Introduced hashFiles for requirements.txt to create a unique cache key, ensuring relevance of the cache.

🎯 Purpose & Impact

  • Faster CI Builds: By restoring dependencies from cache, the time taken for CI builds to complete should decrease significantly.
  • Reduced Redundancy: Minimizes repeated work by reusing previously downloaded packages across different CI runs.
  • Enhanced Efficiency: Caching dependencies tailored to the operating system and Python version ensure maximum compatibility and efficiency.
  • Robust CI Pipelines: Ensures the CI workflow is less prone to network-related issues when fetching dependencies, as they can be sourced directly from the cache.

CI enhancements like this can lead to more rapid integration and testing, speeding up development cycles for contributors and maintainers alike. πŸš€

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
@glenn-jocher glenn-jocher merged commit 5c91dae into master Feb 28, 2023
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-1 branch February 28, 2023 03:55
Smfun12 pushed a commit to Smfun12/yolov5 that referenced this pull request Mar 24, 2023
* Update ci-testing.yml

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

* Update ci-testing.yml

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

* Update ci-testing.yml

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

* Update ci-testing.yml

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

* Update ci-testing.yml

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

---------

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
bandakopi pushed a commit to irajcode/yolov5 that referenced this pull request Jul 20, 2023
* Update ci-testing.yml

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

* Update ci-testing.yml

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

* Update ci-testing.yml

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

* Update ci-testing.yml

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

* Update ci-testing.yml

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

---------

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant