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

发布 3.0.0 正式版前需完善测试 #40

Open
4 of 7 tasks
Xiaokang2022 opened this issue Oct 24, 2024 · 4 comments
Open
4 of 7 tasks

发布 3.0.0 正式版前需完善测试 #40

Xiaokang2022 opened this issue Oct 24, 2024 · 4 comments
Assignees
Labels
✨ Enhancement New feature or request 👁️ Help Wanted Help! Extra attention is needed! 🔥 WIP Work in progress...

Comments

@Xiaokang2022
Copy link
Owner

Xiaokang2022 commented Oct 24, 2024

目前该仓库的测试并不完整,缺少了部分测试:

  • 对动画子包(animation)的测试;
  • 对颜色子包(color)的测试;
  • 对核心子包(core)的测试;
  • 对标准件子包(standard)的测试;
  • 对样式子包(style)的测试;[WIP]
  • 对主题子包(theme)的测试;
  • 对工具箱子包(toolbox)的测试;

在发布 3.0.0 正式版前需要完成这些工作,但这工作量有点大,可能需要来自大家的协助。

另外,十分欢迎各位通过 PR 补充更多的测试,也可以完善已有的测试代码!如果大家想贡献测试,可以在阅读了贡献指南后将测试代码按要求贡献到 tests 目录下。我会尽可能快地回复你并对你的 PR 做出评判。

通过 PR 提交代码到该仓库时,工作流会自动对你的代码进行检查和测试,请保证你最后代码可以全部通过(包括 Lint 和 Test)。Lint 和 Test 对代码的要求是能同时在 Windows、macOS 和 Linux 上,且 Python 版本在 3.103.113.123.13 上正常运行。

Important

请不要在一个 PR 中提交过多的测试,不要超过一个子模块的测试!

Warning

这里特别注意,本仓库采用 pytest 来进行测试,但测试代码要求只使用 Python 自带的 unittest 模块(便于任何时候都可以直接运行),但 pytest 并不兼容 unittest 的部分行为(具体见 pytest 文档),在编写测试代码时请注意。

@Xiaokang2022 Xiaokang2022 added ✨ Enhancement New feature or request 👁️ Help Wanted Help! Extra attention is needed! labels Oct 24, 2024
@Xiaokang2022 Xiaokang2022 self-assigned this Oct 24, 2024
@Xiaokang2022 Xiaokang2022 pinned this issue Oct 24, 2024
@Xiaokang2022 Xiaokang2022 changed the title 发布 3.0.0 正式版前需完善测试 【重要】发布 3.0.0 正式版前需完善测试 Oct 24, 2024
@Snoopy1866
Copy link

Snoopy1866 commented Nov 9, 2024

GitHub Actions usage is free for standard GitHub-hosted runners in public repositories, and for self-hosted runners. For private repositories, each GitHub account receives a certain amount of free minutes and storage for use with GitHub-hosted runners, depending on the account's plan.

https://docs.github.com/en/billing/managing-billing-for-your-products/managing-billing-for-github-actions/about-billing-for-github-actions#about-billing-for-github-actions

公共仓库其实并没有额度限制。

2000 分钟的限额针对的是私有仓库。

@Xiaokang2022
Copy link
Owner Author

原来公共的没有限制啊,文章里就那么一句话说了这个,不容易看到啊(尬)。这就修改 Issue 内容。

@Snoopy1866
Copy link

Snoopy1866 commented Nov 9, 2024

可以点右上角头像 -> Settings -> Biling and Plans -> Plan and usage, 在 Usage this month 可以看到使用量,我这里是零,但实际上我已经运行了 1000+ 的工作流,按理说应该早就超过 2000 分钟了。

image

image

@Xiaokang2022
Copy link
Owner Author

嗯,确实是这么回事(尬笑……)

@Xiaokang2022 Xiaokang2022 changed the title 【重要】发布 3.0.0 正式版前需完善测试 发布 3.0.0 正式版前需完善测试 Nov 14, 2024
@Xiaokang2022 Xiaokang2022 added the 🔥 WIP Work in progress... label Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Enhancement New feature or request 👁️ Help Wanted Help! Extra attention is needed! 🔥 WIP Work in progress...
Projects
None yet
Development

No branches or pull requests

2 participants