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

chore: run tree shaking by new test runner #5937

Merged
merged 4 commits into from
Mar 14, 2024
Merged

Conversation

LingyuCoder
Copy link
Collaborator

Summary

Require Documentation?

  • No
  • Yes, the corresponding rspack-website PR is __

@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label Mar 13, 2024
@LingyuCoder
Copy link
Collaborator Author

!test-ng

Copy link
Contributor

🟢🟢🟢 Test new runner successed

Task: https://github.com/web-infra-dev/rspack/actions/runs/8268389008


> monorepo@0.5.7 test:ng /home/webinfra/ec2-linux-ci-3/_work/rspack/rspack
> pnpm --filter "@rspack/test-tools" test:ng "--no-colors" "--silent=true"

npm/darwin-arm64                         |  WARN  Unsupported platform: wanted: {"cpu":["arm64"],"os":["darwin"],"libc":["any"]} (current: {"os":"linux","cpu":"x64","libc":"glibc"})
npm/darwin-x64                           |  WARN  Unsupported platform: wanted: {"cpu":["x64"],"os":["darwin"],"libc":["any"]} (current: {"os":"linux","cpu":"x64","libc":"glibc"})
npm/win32-x64-msvc                       |  WARN  Unsupported platform: wanted: {"cpu":["x64"],"os":["win32"],"libc":["any"]} (current: {"os":"linux","cpu":"x64","libc":"glibc"})

> @rspack/test-tools@0.5.7 test:ng /home/webinfra/ec2-linux-ci-3/_work/rspack/rspack/packages/rspack-test-tools
> cross-env NO_COLOR=1 node --expose-gc --max-old-space-size=8192 --experimental-vm-modules ../../node_modules/jest-cli/bin/jest --testPathIgnorePatterns ".diff.test.js" --logHeapUsage "--no-colors" "--silent=true"

PASS tests/HashTestCases.test.js (47 MB heap size)
PASS tests/Diagnostics.test.js (48 MB heap size)
PASS tests/StatsTestCases.basictest.js (72 MB heap size)
PASS tests/WatchTestCases.longtest.js (46 MB heap size)
PASS tests/TreeShaking.test.js (5.169 s, 56 MB heap size)
PASS tests/TestCasesNormal.basictest.js (6.04 s, 74 MB heap size)
PASS tests/HotTestCasesWebWorker.test.js (8.871 s, 64 MB heap size)
PASS tests/HotTestCasesNode.test.js (9.038 s, 63 MB heap size)
PASS tests/HotTestCasesWeb.test.js (9.359 s, 65 MB heap size)
(node:3103280) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
PASS tests/ConfigTestCases.basictest.js (49.656 s, 325 MB heap size)

Test Suites: 10 passed, 10 total
Tests:       4 skipped, 2331 passed, 2335 total
Snapshots:   55 passed, 55 total
Time:        50.265 s

@LingyuCoder LingyuCoder marked this pull request as ready for review March 13, 2024 16:50
h-a-n-a
h-a-n-a previously approved these changes Mar 14, 2024
@LingyuCoder
Copy link
Collaborator Author

!test-ng

Copy link
Contributor

🟢🟢🟢 Test new runner successed

Task: https://github.com/web-infra-dev/rspack/actions/runs/8275655796


> monorepo@0.5.7 test:ng /home/webinfra/ec2-linux-ci-0/_work/rspack/rspack
> pnpm --filter "@rspack/test-tools" test:ng "--no-colors" "--silent=true"

npm/darwin-arm64                         |  WARN  Unsupported platform: wanted: {"cpu":["arm64"],"os":["darwin"],"libc":["any"]} (current: {"os":"linux","cpu":"x64","libc":"glibc"})
npm/darwin-x64                           |  WARN  Unsupported platform: wanted: {"cpu":["x64"],"os":["darwin"],"libc":["any"]} (current: {"os":"linux","cpu":"x64","libc":"glibc"})
npm/win32-x64-msvc                       |  WARN  Unsupported platform: wanted: {"cpu":["x64"],"os":["win32"],"libc":["any"]} (current: {"os":"linux","cpu":"x64","libc":"glibc"})

> @rspack/test-tools@0.5.7 test:ng /home/webinfra/ec2-linux-ci-0/_work/rspack/rspack/packages/rspack-test-tools
> cross-env NO_COLOR=1 node --expose-gc --max-old-space-size=8192 --experimental-vm-modules ../../node_modules/jest-cli/bin/jest --testPathIgnorePatterns ".diff.test.js" --logHeapUsage "--no-colors" "--silent=true"

PASS tests/HashTestCases.test.js (47 MB heap size)
PASS tests/Diagnostics.test.js (48 MB heap size)
PASS tests/StatsTestCases.basictest.js (72 MB heap size)
PASS tests/WatchTestCases.longtest.js (46 MB heap size)
PASS tests/TestCasesNormal.basictest.js (11.092 s, 74 MB heap size)
PASS tests/TreeShaking.test.js (18.674 s, 69 MB heap size)
PASS tests/HotTestCasesWebWorker.test.js (18.787 s, 64 MB heap size)
PASS tests/HotTestCasesWeb.test.js (19.026 s, 65 MB heap size)
PASS tests/HotTestCasesNode.test.js (19.068 s, 63 MB heap size)
(node:2494608) ExperimentalWarning: VM Modules is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
PASS tests/ConfigTestCases.basictest.js (110.158 s, 315 MB heap size)

Test Suites: 10 passed, 10 total
Tests:       4 skipped, 2410 passed, 2414 total
Snapshots:   55 passed, 55 total
Time:        110.804 s

@LingyuCoder LingyuCoder enabled auto-merge (squash) March 14, 2024 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team The issue/pr is created by the member of Rspack.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants