Skip to content

Commit

Permalink
👷 Workflows: 修复测试
Browse files Browse the repository at this point in the history
  • Loading branch information
Reversedeer committed Feb 4, 2025
1 parent 6646529 commit 8b12227
Show file tree
Hide file tree
Showing 3 changed files with 110 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Run Pytest
run: |
cd tests
poetry run pytest --cov=src --cov-report=xml --junitxml=junit.xml
poetry run pytest -n auto --cov-append --cov-report=xml --junitxml=junit.xml
- name: Upload test results
uses: codecov/test-results-action@v1
Expand Down
101 changes: 100 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 9 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,19 @@ adapters = [
plugins = ["nonebot_plugin_eventmonitor"]

[tool.poetry.group.dev.dependencies]
nonebug = ">=0.3.0"
mypy = "^1.8.0"
flake8 = ">=6.0"
pytest = ">=8.3.2"
pytest-asyncio = ">=0.23.8"
pytest-cov = ">=5.0.0"
pytest-mock = ">=3.14.0"
coverage = ">=7.4.0"
ruff = ">=0.6.1"
black = ">=24.4.2"
isort = ">=5.13.2"
mypy = "^1.8.0"

pytest = ">=8.3.2"
coverage = ">=7.4.0"
nonebug = ">=0.4.0"
pytest-cov = ">=6.0.0"
pytest-mock = ">=3.14.0"
pytest-xdist = ">=3.0.2"
pytest-asyncio = ">=0.23.8"
coverage-conditional-plugin = "^0.9.0"

[tool.ruff]
line-length = 120
Expand Down

0 comments on commit 8b12227

Please sign in to comment.