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

Make github CI workflow faster #225

Merged
merged 4 commits into from
May 16, 2024
Merged

Make github CI workflow faster #225

merged 4 commits into from
May 16, 2024

Conversation

JeanMainguy
Copy link
Member

@JeanMainguy JeanMainguy commented May 16, 2024

This PR implements two adjustments to speed up the GitHub CI process:

  1. It utilizes multiple CPUs instead of just one. The number of available cores is assessed and utilized in ppanggolin commands that support multiprocessing. GitHub runners typically have 4 CPUs available. You can find more information about runner resources in GitHub's documentation.

  2. It limits testing to only the oldest and latest supported Python versions, rather than testing on all versions. While this change may not necessarily reduce the overall workflow duration, it significantly reduces computational load per execution.

These adjustments result in a 2x decrease in duration time, reducing it from approximately 40 minutes to 20 minutes.

@JeanMainguy JeanMainguy changed the title Make gituhub CI workflow faster Make github CI workflow faster May 16, 2024
@JeanMainguy JeanMainguy marked this pull request as ready for review May 16, 2024 12:13
@axbazin axbazin merged commit ab9799e into dev May 16, 2024
4 checks passed
@axbazin axbazin deleted the functional_tests branch May 16, 2024 18:55
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.

2 participants