-
Notifications
You must be signed in to change notification settings - Fork 82
Parallel test jobs #2549
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
Parallel test jobs #2549
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2549 +/- ##
=======================================
Coverage 78.26% 78.26%
=======================================
Files 291 291
Lines 10784 10784
Branches 1507 1507
=======================================
Hits 8440 8440
Misses 1692 1692
Partials 652 652 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This reverts commit 96ee669.
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.
❤️ ❤️ ❤️
command: ./gradlew purchases:koverHtmlReportDefaultsRelease | ||
- run: | ||
name: Kover XML | ||
name: Generate Kover XML |
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.
So we're only using Kover for the defaults release flavor right? I guess this could leave some paths untested even if they are actually tested... but I don't have a better idea right now, so I'm ok with this 😅
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.
right! I noticed that the other day as well, that's mainly why I asked about revisiting it. Let's leave it as is since that's what we had yeah
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.
Thanks for taking care of this! Finally some much needed CI improvements 😄
(My comments are just suggestions, as this is already merged.)
<<: *android-executor | ||
shell: /bin/bash --login -o pipefail | ||
steps: | ||
- checkout | ||
- attach_workspace: | ||
at: . | ||
- android/restore_gradle_cache | ||
- run: | ||
name: Run CEC Release Tests | ||
command: ./gradlew testCustomEntitlementComputationReleaseUnitTest --parallel --no-daemon | ||
- run: | ||
name: Collect JUnit XMLs | ||
command: | | ||
mkdir -p build/test-results | ||
find . -type f -regex ".*/build/test-results/.*xml" -exec cp --parents {} build/test-results/ \; | ||
- store_test_results: | ||
path: build/test-results |
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.
This job is copied a few times if I'm reading it correctly. Maybe we can extract it to a command
, which takes a gradleTask
parameter or something?
- persist_to_workspace: | ||
root: . | ||
paths: | ||
- . |
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.
How long does this take? We could use save-incremental-gradle-build-to-workspace
to only persist the relevant directories.
…f tests (#2569) #2549 split tests but it had a difference missing around 3000 tests compared to the previous test logic. After some debugging I realized we were missing a module's test `dokka-hide-internal`. When adding that I realized that it was reporting 6 tests, but we only have 3 tests in there. That helped me realize we had an issue storing tests, and we were double counting them.
**This is an automatic release.** ## RevenueCat SDK ### 🐞 Bugfixes * Add lifetime badge to customer center (#2565) via Cesar de la Vega (@vegaro) ### Customer Center #### ✨ New Features * Introduce custom actions for customer center (#2572) via Facundo Menzella (@facumenzella) ## RevenueCatUI SDK ### ✨ New Features * Add support for az-AZ locale (#2575) via Franco Correa (@francocorreasosa) ### Customer Center #### 🐞 Bugfixes * Display latest expired subscription if no active subscriptions (#2564) via Cesar de la Vega (@vegaro) ### 🔄 Other Changes * Expose getStorefront APIs in CustomEntitlementComputation flavor (#2579) via Toni Rico (@tonidero) * [AUTOMATIC][Paywalls V2] Updates paywall-preview-resources submodule (#2578) via RevenueCat Git Bot (@RCGitBot) * Add missing dokka-hide-internal tests to CI and fix reported number of tests (#2569) via Cesar de la Vega (@vegaro) * [AUTOMATIC][Paywalls V2] Updates paywall-preview-resources submodule (#2574) via RevenueCat Git Bot (@RCGitBot) * Convert WebBilling products into TestStoreProducts (#2573) via Toni Rico (@tonidero) * Add WebBillingGetProducts endpoint (#2571) via Toni Rico (@tonidero) * Remove TestStoreProduct purchase check (#2570) via Toni Rico (@tonidero) * Improve 9.0.0 changelog (#2568) via Toni Rico (@tonidero) * [AUTOMATIC][Paywalls V2] Updates paywall-preview-resources submodule (#2567) via RevenueCat Git Bot (@RCGitBot) * Parallel test jobs (#2549) via Cesar de la Vega (@vegaro) Co-authored-by: revenuecat-ops <ops@revenuecat.com>
…f tests (#2569) #2549 split tests but it had a difference missing around 3000 tests compared to the previous test logic. After some debugging I realized we were missing a module's test `dokka-hide-internal`. When adding that I realized that it was reporting 6 tests, but we only have 3 tests in there. That helped me realize we had an issue storing tests, and we were double counting them.
build-test-deploy
times down to 17 min from 37 min