Skip to content
Merged
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
26 changes: 13 additions & 13 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,21 @@ jobs:
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- name: Install dependencies
run: |
python -m pip install --upgrade "pip>=24.2" setuptools
python -m pip install build
python -m pip install twine
python -m pip install --group dev
run: uv sync --group dev
- name: Run linter
run: ruff check
run: uv run ruff check
- name: Check types
run: mypy
run: uv run mypy
- name: Run Tests
run: |
pytest
python -m build --sdist
twine check dist/*
sphinx-build -b html docs dist/docs
sphinx-build -b doctest docs dist/doctest
python -m doctest README.rst
uv run pytest
uv run --with build python -m build --sdist
uv run --with twine twine check dist/*
uv run sphinx-build -b html docs dist/docs
uv run sphinx-build -b doctest docs dist/doctest
uv run python -m doctest README.rst
Loading