Skip to content

Commit

Permalink
✅ fix pytest in 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
j1g5awi committed Feb 13, 2024
1 parent 6b7efa6 commit 019314b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Run Pytest
run: |
cd tests/
pdm run pytest --cov=nonebot.adapters.telegram --cov-report xml
pdm run pytest -n auto --cov=nonebot/adapters/telegram --cov-report xml
- name: Upload coverage report
uses: codecov/codecov-action@v3
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ all = false

[tool.pytest.ini_options]
asyncio_mode = "auto"
addopts = "--cov nonebot.adapters.telegram --cov-report term-missing"
addopts = "--cov nonebot/adapters/telegram --cov-report term-missing"

[tool.pyright]
reportShadowedImports = false
Expand Down

0 comments on commit 019314b

Please sign in to comment.