Skip to content

feat: 从环境变量中读取测试相关变量 #236

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

Merged
merged 7 commits into from
Oct 23, 2024
Merged

Conversation

he0119
Copy link
Member

@he0119 he0119 commented Oct 22, 2024

这样方便在测试环境中测试脚本。

STORE_BASE_URL: "https://raw.githubusercontent.com/nonebot/noneflow-test/master/assets"
REGISTRY_BASE_URL: "https://raw.githubusercontent.com/nonebot/noneflow-test/results"
DOCKER_IMAGES_VERSION: main

https://github.com/nonebot/noneflow-test/blob/a7e88b879a2c7ed22854650b20fbc8d0527196e3/.github/workflows/noneflow.yml#L54
https://github.com/nonebot/noneflow-test/blob/a7e88b879a2c7ed22854650b20fbc8d0527196e3/.github/workflows/store-test.yml#L31-L34

@github-actions github-actions bot added ci enhancement New feature or request labels Oct 22, 2024
Copy link

codecov bot commented Oct 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.17%. Comparing base (338baeb) to head (d11893e).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #236      +/-   ##
==========================================
+ Coverage   91.16%   91.17%   +0.01%     
==========================================
  Files          34       34              
  Lines        1494     1496       +2     
==========================================
+ Hits         1362     1364       +2     
  Misses        132      132              

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

@he0119 he0119 merged commit 30420fa into main Oct 23, 2024
6 checks passed
@he0119 he0119 deleted the feat/environment branch October 23, 2024 15:06
BigOrangeQWQ pushed a commit to BigOrangeQWQ/noneflow that referenced this pull request Oct 29, 2024
* docs(examples): 简化 noneflow 的写法

不再需要单独的插件测试 job

* feat: 从环境变量中读取 REGISTRY_BASE_URL 和 STORE_BASE_URL

方便在测试环境中测试脚本

* docs(examples): 更新运行 store_test 的方法

* feat: 从环境变量中读取 DOCKER_IMAGES_VERSION

* chore: 添加并调整注释的位置

* ci: docker tags 使用 prefix 来添加 python 版本

* ci: docker tags 使用 flavor 来添加 prefix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant