CircleCI-Public / CircleCI-Public/python-orb

Feat ✨: use tox in test job

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

还没有人认领这个 Issue。

backlog type: enhancement
主要语言
Shell
星标
15
派生
41
PR 合并指标
30 天内没有已合并 PR

描述

Describe Request:

Use tox to run your test suite with the test job - next to unittest and pytest.

Examples:

I would expect the following to work:

- python/test:
   pkg-manager: pip
   test-tool: tox

It would be nice to add another parameter tox-posargs to interactively pass positional arguments to tox.

Supporting Documentation Links:

tox

贡献指南

这个仓库没有索引到贡献指南

从这里开始

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

调研方向

从 src/jobs/test.yml 开始,比较现有的 unittest 和 pytest 选项是如何接入测试作业的。查看 issue 中链接的 tox 文档,然后验证使用 test-tool: tox 的示例能够正常工作,并且可以按要求传递位置参数。

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

评估

领域
ci-cd, testing-qa
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

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