ci: split tests into 4 shards with fail-fast disabled#1236
Open
yanyihan-xiaomi wants to merge 1 commit into
Open
ci: split tests into 4 shards with fail-fast disabled#1236yanyihan-xiaomi wants to merge 1 commit into
yanyihan-xiaomi wants to merge 1 commit into
Conversation
3 tasks
1754b30 to
94f2517
Compare
Collaborator
Author
|
预计应该在Test基本都通过之后再合并,方便快速检查,目前来说让统计test fail变麻烦了,暂时不适合合入 |
- Split unit tests into 4 parallel shards using bun test --shard - Set fail-fast: false so all shards complete even if one fails - Run tests directly in packages/opencode via test:ci script with JUnit reporter - Upload JUnit XML artifact per shard - Simplify setup-bun action: remove baseline URL, setuptools, Windows hoisted - Bump actions: checkout@v6, cache@v5, upload-artifact@v7 - turbo.json: only keep typecheck (remove build + cli/app test tasks) - Bump bun to 1.3.14 via packageManager
94f2517 to
54d27ed
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
bun test --shardfail-fast: falseso all shards complete even if one failspackages/opencodeviatest:ciscript with JUnit reportersetup-bunaction: remove baseline URL construction, setuptools, Windows hoisted workaroundcheckout@v6,cache@v5,upload-artifact@v7(fix Node.js 20 deprecation warnings)turbo.json: only keeptypecheck(removebuild+@mimo-ai/cli/@mimo-ai/apptest tasks)packageManagerChanges
test.ymllint.yml/typecheck.ymlsetup-bun/action.ymlturbo.jsontypecheckpackage.json