-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Run CI tests in parallel #609
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
Conversation
|
Warning Rate limit exceeded@Shane32 has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 12 minutes and 39 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughRefactors the CI workflow to use a matrix-driven test job, adds an additional-tests job that installs a requested .NET SDK and consumes build artifacts, consolidates test execution into a parameterized step, and makes clean depend on additional-tests. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Dev as Push/PR
participant Build as Job: build
participant Test as Job: test (matrix)
participant AddTests as Job: additional-tests
participant Clean as Job: clean
participant Art as Artifacts
Dev->>Build: Trigger workflow
rect rgba(230,240,255,0.5)
Build-->>Art: Upload build artifacts
end
Build-->>Test: needs: build
par Matrix runs
Test->>Test: setup per-matrix env (sdk/framework)
alt matrix.coverage == true
Test->>Test: dotnet test --collect:"XPlat Code Coverage" (with flags)
else
Test->>Test: dotnet test (with --no-build if set)
end
end
Build-->>AddTests: needs: build
rect rgba(240,255,230,0.5)
AddTests->>AddTests: actions/setup-dotnet (matrix.sdk)
AddTests-->>Art: download artifacts
AddTests->>AddTests: run additional test steps
end
AddTests-->>Clean: needs: additional-tests
rect rgba(255,240,230,0.5)
Clean-->>Art: delete artifacts
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Pre-merge checks and finishing touches✅ Passed checks (3 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/wf-build-test.yml(3 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: build
Summary by CodeRabbit
Tests
Chores