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 speed by removing duplicate run of tests #1822

Merged
merged 6 commits into from
May 24, 2024

Conversation

cijothomas
Copy link
Member

@cijothomas cijothomas commented May 24, 2024

We were previously running same tests multiple times. This modifies test script to run test just once, and without single thread restriction. None of the existing tests require that restriction, so we can benefit from parallelism.

Manually checked same tests/docs tests are run! in 3min 44 secs as opposed to 5 mins. Windows ones shaved off 2 minutes and this should make CI's finish much quicker.

The global tracerprovider tests were not running for a while, and this won't fix them either. See tracking issue : #1823

@cijothomas cijothomas requested a review from a team May 24, 2024 16:36
Copy link

codecov bot commented May 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.6%. Comparing base (1b410d0) to head (de4a62c).

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #1822   +/-   ##
=====================================
  Coverage   73.6%   73.6%           
=====================================
  Files        122     122           
  Lines      19529   19529           
=====================================
+ Hits       14388   14391    +3     
+ Misses      5141    5138    -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cijothomas
Copy link
Member Author

Looks fine. Manually checked same tests/docs tests are run! in 3min 44 secs as opposed to 5 mins. Windows ones shaved off 2 minutes and this should make CI's finish much quicker.

@cijothomas cijothomas changed the title Try improve CI tests Improve CI speed by removing duplicate run of tests May 24, 2024
@cijothomas cijothomas merged commit f8ee551 into open-telemetry:main May 24, 2024
22 checks passed
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