Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lesnik512 committed Dec 17, 2024
1 parent ed21580 commit a078993
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@ jobs:
enable-cache: true
cache-dependency-glob: "**/pyproject.toml"
- run: uv python install ${{ matrix.python-version }}
- run: just install test . --cov=. --cov-report xml
- if: ${{ matrix.python-version == 3.13 }}
run: just install-313
- if: ${{ matrix.python-version < 3.13 }}
run: just install
- run: just test . --cov=. --cov-report xml
- uses: codecov/[email protected]
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
Expand Down
6 changes: 5 additions & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ default: install lint test

install:
uv lock --upgrade
uv sync --all-extras --frozen
uv sync --extra dev --frozen

install-313:
uv lock --upgrade
uv sync --extra dev313 --frozen

lint:
uv run ruff format
Expand Down
12 changes: 12 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,18 @@ dev = [
"typing-extensions",
"pre-commit"
]
dev313 = [
"fastapi",
"httpx",
"pytest",
"pytest-cov",
"pytest-asyncio",
"pytest-repeat",
"ruff",
"mypy",
"typing-extensions",
"pre-commit"
]

[build-system]
requires = ["hatchling", "hatch-vcs"]
Expand Down

0 comments on commit a078993

Please sign in to comment.