Skip to content

Commit

Permalink
ci: Test with Python 3.13 (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon authored Sep 3, 2024
1 parent 4e73188 commit 81a603b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,13 @@ jobs:
fail-fast: false
matrix:
script: ["test:integration"]
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"
include:
- { script: "test:dependencies", python-version: "3.12" }
- { script: "typing:check", python-version: "3.12" }
Expand All @@ -41,6 +47,7 @@ jobs:
id: setup-python
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
cache: pip

- name: Upgrade pip
Expand Down Expand Up @@ -71,7 +78,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.x"
cache: pip
cache-dependency-path: .pre-commit-config.yaml

Expand Down
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"requests",
Expand Down Expand Up @@ -118,6 +119,9 @@ DEP002 = [
"types-requests",
]

[tool.pyproject-fmt]
max_supported_python = "3.13"

[tool.pytest.ini_options]
addopts = "-vvv"
filterwarnings = [
Expand All @@ -132,7 +136,7 @@ filterwarnings = [
xfail_strict = true

[tool.mypy]
python_version = "3.11"
python_version = "3.12"
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true
Expand Down

0 comments on commit 81a603b

Please sign in to comment.