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

unittest in CircleCI in parallel #487

Merged
merged 4 commits into from
Feb 7, 2024
Merged

Conversation

danielhoherd
Copy link
Member

@danielhoherd danielhoherd commented Feb 7, 2024

Description

This adds parallel unit testing in CircleCI, which is something we do in astronomer/astronomer. The unittest step takes 18m20s on average as it is. https://app.circleci.com/insights/github/astronomer/airflow-chart/workflows/install-airflow-chart/jobs?branch=master&reporting-window=last-90-days This PR cuts that 18m20s down to about 4m20s https://app.circleci.com/pipelines/github/astronomer/airflow-chart/2126/workflows/ff7ab1a7-3067-4a78-9ecf-e4ab7d7701d3/jobs/23388

Related Issues

Testing

No QA testing is needed. These changes are only CircleCI related.

Merging

Merge everywhere.

@danielhoherd danielhoherd requested a review from a team as a code owner February 7, 2024 15:05
Copy link
Contributor

@pgvishnuram pgvishnuram left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will fasten up our testing

@rishkarajgi
Copy link
Contributor

Much needed optimization

@rishkarajgi
Copy link
Contributor

@danielhoherd Can we spin up an issue ticket for this please. Will track this as a tech debt item

@danielhoherd
Copy link
Member Author

@rishkarajgi turns out there already is one! https://github.com/astronomer/issues/issues/5199

@danielhoherd danielhoherd merged commit d5bfb70 into master Feb 7, 2024
10 of 11 checks passed
@danielhoherd danielhoherd deleted the unit-test-in-parallel branch February 7, 2024 16:39
@danielhoherd danielhoherd changed the title unittest in parallel unittest in CircleCI in parallel Feb 7, 2024
danielhoherd added a commit that referenced this pull request Feb 7, 2024
danielhoherd added a commit that referenced this pull request Feb 7, 2024
@danielhoherd
Copy link
Member Author

I merged this to master and then cherry-picked into 1.8 and 1.9, and merged master into 1.10

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.

None yet

3 participants