Skip to content

Commit

Permalink
Add Python 3.11 to CI/tests (#821)
Browse files Browse the repository at this point in the history
Python 3.11 was missing from the test matrices.
  • Loading branch information
tatiana authored Jan 30, 2024
1 parent 8f6afa4 commit 6c9c875
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
airflow-version: ["2.3", "2.4", "2.5", "2.6", "2.7", "2.8"]
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
airflow-version: ["2.3", "2.4", "2.5", "2.6", "2.7", "2.8"]
services:
postgres:
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
python-version: ["3.11"]
airflow-version: ["2.6"]

services:
Expand Down Expand Up @@ -227,7 +227,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
python-version: ["3.11"]
airflow-version: ["2.7"]

steps:
Expand Down Expand Up @@ -296,10 +296,10 @@ jobs:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}
- name: Set up Python 3.10
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: '3.10'
python-version: '3.11'
- name: Install coverage
run: |
pip3 install coverage
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ classifiers = [
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
dependencies = [
"aenum",
Expand Down Expand Up @@ -165,7 +166,7 @@ pre-install-commands = ["""
"""
]
[[tool.hatch.envs.tests.matrix]]
python = ["3.8", "3.9", "3.10"]
python = ["3.8", "3.9", "3.10", "3.11"]
airflow = ["2.3", "2.4", "2.5", "2.6", "2.7", "2.8"]


Expand Down

0 comments on commit 6c9c875

Please sign in to comment.