Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Add test to "test_all.sh" to run all pytests

未关闭
#6 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
38/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
python, shell

调研方向

打开 test_all.sh,检查现有检查是如何调用的,然后审查建议的 tests/test_pytest 路径以及来自 GEOIPS_PACKAGES_DIR 的 check_code.sh 的作用。完成的标准是 test_all.sh 在约定的测试工作流中调用仓库的 pytest 测试;issue 指出这一流程仍可能发生变化。

由索引模型根据 Issue 内容生成。

描述

testing

Requested Update

Description
  • Add a call to test_all.sh to run all pytests
Background and Motivation
  • Formalize the process of calling units tests in all repos.
  • May want to wait until we formalize the testing process (ie, potentially not having to clone geoips repo locally in order to run any tests - now since "check_code.sh" is called from $GEOIPS_PACKAGES_DIR, geoips must be cloned to run any plugin repo tests.
  • Something like "if -e tests/test_pytest; then pytest tests/test_pytest
Alternative Solutions
  • [ OPTIONAL: If appropriate, list alternative fixes that could be considered]
Environment
  • [ IF APPROPRIATE: Corresponding repository versions ]
Code to demonstrate issue
  • [ IF APPROPRIATE: Can include steps here to identify/demonstrate bug fix or desired feature ]
Checklist for Completion
  • <!--- Include a list of steps that must be complete in order to close this Issue --->
主要语言
Python
星标
0
派生
2
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

NRLMMD-GEOIPS/template_basic_plugin 的其他 Issue

查看 NRLMMD-GEOIPS/template_basic_plugin 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。