Skip to content

Fix pytest coverage configuration: use apyds instead of pyds - #45

Merged
hzhangxyz merged 2 commits into
mainfrom
copilot/fix-pytest-cov-issue
Nov 27, 2025
Merged

Fix pytest coverage configuration: use apyds instead of pyds#45
hzhangxyz merged 2 commits into
mainfrom
copilot/fix-pytest-cov-issue

Conversation

Copilot AI commented Nov 27, 2025

Copy link
Copy Markdown
Contributor

Coverage was configured for wrong package name (pyds instead of apyds) and was hardcoded in the workflow file.

Changes

  • .github/workflows/pytest.yml: Simplified to uv run pytest
  • pyproject.toml: Added pytest configuration with correct coverage target
[tool.pytest.ini_options]
addopts = "--cov=apyds"
Original prompt

This section details on the original issue you should resolve

<issue_title>pytest.ymluv run pytest --cov=pyds 应该是 uv run pytest --cov=apyds</issue_title>
<issue_description></issue_description>

<agent_instructions>action中就写 uv run pytest, 然后--cov=apyds 这个信息写在 pyproject.toml 里</agent_instructions>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: hzhangxyz <11623447+hzhangxyz@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix pytest coverage directory in pytest.yml Fix pytest coverage configuration: use apyds instead of pyds Nov 27, 2025
Copilot AI requested a review from hzhangxyz November 27, 2025 08:36
@hzhangxyz
hzhangxyz marked this pull request as ready for review November 27, 2025 08:37
@hzhangxyz
hzhangxyz merged commit 8a31f11 into main Nov 27, 2025
73 checks passed
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.

pytest.ymluv run pytest --cov=pyds 应该是 uv run pytest --cov=apyds

2 participants