Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,9 @@ jobs:
uv sync

- name: Run test
run: uv run pytest
run: uv run pytest --cov --cov-report=xml

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
__pycache__/
.pytest_cache/
.pdm.toml
.pdm-python
.pdm-build/
.env
.venv
venv/
.idea/
.vscode/
.ruff_cache/
dist/
.claude/
.coverage
coverage.xml
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,13 @@ repository = "https://github.com/fastapi-practices/fastapi_oauth20"

[dependency-groups]
dev = [
"click==8.2.1",
"fastapi>=0.119.0",
"pytest>=8.4.0",
"pytest-asyncio>=1.2.0",
"fastapi>=0.119.0",
"pytest-cov>=7.0.0",
"respx>=0.22.0",
"ty>=0.0.1a23",
"click==8.2.1",
]
lint = [
"pre-commit>=4.3.0",
Expand Down
17 changes: 13 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ colorama==0.4.6 ; sys_platform == 'win32'
# via
# click
# pytest
coverage==7.11.1
# via pytest-cov
distlib==0.4.0
# via virtualenv
exceptiongroup==1.3.0 ; python_full_version < '3.11'
Expand Down Expand Up @@ -52,7 +54,9 @@ packaging==25.0
platformdirs==4.5.0
# via virtualenv
pluggy==1.6.0
# via pytest
# via
# pytest
# pytest-cov
pre-commit==4.3.0
pydantic==2.12.2
# via fastapi
Expand All @@ -61,17 +65,22 @@ pydantic-core==2.41.4
pygments==2.19.2
# via pytest
pytest==8.4.2
# via pytest-asyncio
# via
# pytest-asyncio
# pytest-cov
pytest-asyncio==1.2.0
pytest-cov==7.0.0
pyyaml==6.0.3
# via pre-commit
respx==0.22.0
sniffio==1.3.1
# via anyio
starlette==0.48.0
# via fastapi
tomli==2.3.0 ; python_full_version < '3.11'
# via pytest
tomli==2.3.0 ; python_full_version <= '3.11'
# via
# coverage
# pytest
ty==0.0.1a23
typing-extensions==4.15.0
# via
Expand Down
Loading