Skip to content

Commit

Permalink
feat: Add python 3.13 in CI matrix. (#185)
Browse files Browse the repository at this point in the history
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
  • Loading branch information
Mr-Sunglasses and Kludex authored Dec 6, 2024
1 parent 4bffa0c commit f1c5a28
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,18 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v4
with:
version: "0.4.12"
python-version: ${{ matrix.python-version }}
enable-cache: true

- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}

- name: Install dependencies
run: uv sync --python ${{ matrix.python-version }} --frozen
run: uv sync --frozen

- name: Run linters
run: scripts/check
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ dev-dependencies = [
"ruff==0.8.0",
"mypy",
"types-PyYAML",
"atheris==2.3.0; python_version != '3.12'",
"atheris==2.3.0; python_version <= '3.11'",
# Documentation
"mkdocs",
"mkdocs-material",
Expand Down
1 change: 1 addition & 0 deletions scripts/check
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ uvx ruff format --check --diff $SOURCE_FILES
uvx ruff check $SOURCE_FILES
uv run mypy $SOURCE_FILES
uvx check-sdist
uv lock
6 changes: 3 additions & 3 deletions uv.lock

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

0 comments on commit f1c5a28

Please sign in to comment.