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

test: speed up test workflow #50346

Merged
merged 24 commits into from
Aug 11, 2024
Merged

test: speed up test workflow #50346

merged 24 commits into from
Aug 11, 2024

Conversation

afc163
Copy link
Member

@afc163 afc163 commented Aug 10, 2024

中文版模板 / Chinese template

🤔 This is a ...

  • 🆕 New feature
  • 🐞 Bug fix
  • 📝 Site / documentation improvement
  • 📽️ Demo improvement
  • 💄 Component style improvement
  • 🤖 TypeScript definition improvement
  • 📦 Bundle size optimization
  • ⚡️ Performance optimization
  • ⭐️ Feature enhancement
  • 🌐 Internationalization
  • 🛠 Refactoring
  • 🎨 Code style optimization
  • ✅ Test Case
  • 🔀 Branch merge
  • ⏩ Workflow
  • ❓ Other (about what?)

🔗 Related Issues

  • Describe the source of related requirements, such as links to relevant issue discussions.
  • For example: close #xxxx, fix #xxxx

💡 Background and Solution

  • The specific problem to be addressed.
  • List the final API implementation and usage if needed.
  • If there are UI/interaction changes, consider providing screenshots or GIFs.

https://github.com/ant-design/ant-design/actions/runs/10336878232?pr=50346

  • 优化了 workflow 的逻辑依赖关系,提前了代码覆盖率的 job。
  • 移除了一些没必要的检测项,比如 check_metadata
  • 升级到 node 20
  • 补齐了一些检测项,比如 es 目录的检测。
before after
图片 图片

📝 Change Log

Language Changelog
🇺🇸 English --
🇨🇳 Chinese --

Copy link

stackblitz bot commented Aug 10, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link
Contributor

github-actions bot commented Aug 10, 2024

Preview failed

Copy link
Contributor

github-actions bot commented Aug 10, 2024

👁 Visual Regression Report for PR #50346 Passed ✅

🎯 Target branch: master (d6be2b2)
📖 View Full Report ↗︎

🎊 Congrats! No visual-regression diff found.

Copy link
Contributor

github-actions bot commented Aug 10, 2024

size-limit report 📦

Path Size
./dist/antd.min.js 346.19 KB
./dist/antd-with-locales.min.js 396.9 KB

Copy link

pkg-pr-new bot commented Aug 10, 2024

Copy link

codecov bot commented Aug 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (master@d6be2b2). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff             @@
##             master    #50346   +/-   ##
==========================================
  Coverage          ?   100.00%           
==========================================
  Files             ?       751           
  Lines             ?     13175           
  Branches          ?      3429           
==========================================
  Hits              ?     13175           
  Misses            ?         0           
  Partials          ?         0           

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

li-jia-nan
li-jia-nan previously approved these changes Aug 10, 2024
tests/dekko/es.test.js Outdated Show resolved Hide resolved
tests/dekko/es.test.js Outdated Show resolved Hide resolved
@afc163 afc163 changed the title test: faster test.yml test: speed up test workflow Aug 10, 2024
@afc163 afc163 marked this pull request as ready for review August 11, 2024 02:51
@afc163 afc163 merged commit 0c97a6f into master Aug 11, 2024
65 checks passed
@afc163 afc163 deleted the test/improve-test-workflow branch August 11, 2024 06:14
linxianxi pushed a commit to linxianxi/ant-design that referenced this pull request Aug 14, 2024
* test: faster test.yml

* test: upgrade to node 20

* fix depends

* fix needs

* fix needs

* fix needs

* fix needs

* test: update test.yml

* test: update test.yml

* test: update test.yml

* test: update test.yml

* test: update test.yml

* test: update test.yml

* test: update test.yml

* test: update test.yml

* test: update test.yml

* fix: lib es test

* fix: lib es test

* fix: lib es test

* skip dist test in react lagacy

* Update test.yml

Signed-off-by: afc163 <afc163@gmail.com>

---------

Signed-off-by: afc163 <afc163@gmail.com>
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