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 GH Actions to use mamba #450

Merged
merged 2 commits into from
Apr 14, 2023
Merged

Conversation

tomvothecoder
Copy link
Collaborator

Description

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

If applicable:

  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass with my changes (locally and CI/CD build)
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have noted that this is a breaking change for a major release (fix or feature that would cause existing functionality to not work as expected)

@tomvothecoder tomvothecoder added the type: devops Testing, CI/CD, systems configuration label Apr 14, 2023
@tomvothecoder tomvothecoder self-assigned this Apr 14, 2023
@codecov-commenter
Copy link

Codecov Report

Patch and project coverage have no change.

Comparison is base (c9bcbcd) 100.00% compared to head (a81973d) 100.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #450   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           14        14           
  Lines         1308      1308           
=========================================
  Hits          1308      1308           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@tomvothecoder
Copy link
Collaborator Author

Results: This effectively decreases the total build time from 1-2 minutes depending on the Python version.

Python 3.9 build with conda takes about 4.5 mins: https://github.com/xCDAT/xcdat/actions/runs/4683848502/jobs/8299360740
Python 3.9 build with mamba takes about 2.5 mins: https://github.com/xCDAT/xcdat/actions/runs/4704284564/jobs/8343771268

@tomvothecoder tomvothecoder merged commit 9023209 into main Apr 14, 2023
@tomvothecoder tomvothecoder deleted the devops/449-gh-actions-mamba branch April 14, 2023 22:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: devops Testing, CI/CD, systems configuration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[DevOps]: Switch GitHub Actions build job to use mamba instead of conda
2 participants