Skip to content

Commit

Permalink
Add Python3.12 in test matrix (#21)
Browse files Browse the repository at this point in the history
* Add Python3.12 in test matrix
  • Loading branch information
pankajastro authored Jun 24, 2024
1 parent 2b5e0d2 commit 8a6e2ee
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
airflow-version: ["2.7", "2.8", "2.9"]
exclude:
- python-version: "3.12"
airflow-version: "2.7"
- python-version: "3.12"
airflow-version: "2.8"
steps:
- uses: actions/checkout@v4
with:
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dynamic = ["version"]
requires-python = "~=3.8"
requires-python = ">=3.8, <3.13"
dependencies = [
"apache-airflow>=2.7",
"pyyaml",
Expand Down Expand Up @@ -66,7 +67,7 @@ dependencies = [
pre-install-commands = ["sh scripts/test/pre-install-airflow.sh {matrix:airflow} {matrix:python}"]

[[tool.hatch.envs.tests.matrix]]
python = ["3.8", "3.9", "3.10", "3.11"]
python = ["3.8", "3.9", "3.10", "3.11", "3.12"]
airflow = ["2.7", "2.8", "2.9"]

[tool.hatch.envs.tests.overrides]
Expand Down

0 comments on commit 8a6e2ee

Please sign in to comment.