Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit 21aeca3

Browse files
authored
Update workflows and integration test matricies (#1320)
Co-authored-by: Mila Page <[email protected]>
1 parent 5ce38d8 commit 21aeca3

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

.github/scripts/integration-test-matrix.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = ({ context }) => {
22
const defaultPythonVersion = "3.8";
3-
const supportedPythonVersions = ["3.8", "3.9", "3.10", "3.11"];
3+
const supportedPythonVersions = ["3.8", "3.9", "3.10", "3.11", "3.12"];
44
const supportedAdapters = ["bigquery"];
55

66
// if PR, generate matrix based on files changed and PR labels

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
strategy:
7171
fail-fast: false
7272
matrix:
73-
python-version: ['3.8', '3.9', '3.10', '3.11']
73+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
7474

7575
env:
7676
TOXENV: "unit"
@@ -175,7 +175,7 @@ jobs:
175175
fail-fast: false
176176
matrix:
177177
os: [ubuntu-latest, macos-12, windows-latest]
178-
python-version: ['3.8', '3.9', '3.10', '3.11']
178+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
179179

180180
steps:
181181
- name: Set up Python ${{ matrix.python-version }}

.pre-commit-config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ repos:
2828
- --target-version=py39
2929
- --target-version=py310
3030
- --target-version=py311
31+
- --target-version=py312
3132
additional_dependencies: [flaky]
3233

3334
- repo: https://github.com/pycqa/flake8

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ def _dbt_bigquery_version() -> str:
7373
"Programming Language :: Python :: 3.9",
7474
"Programming Language :: Python :: 3.10",
7575
"Programming Language :: Python :: 3.11",
76+
"Programming Language :: Python :: 3.12",
7677
],
7778
python_requires=">=3.8",
7879
)

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[tox]
22
skipsdist = True
3-
envlist = py38,py39,py310,py311
3+
envlist = py38,py39,py310,py311,py312
44

5-
[testenv:{unit,py38,py39,py310,py311,py}]
5+
[testenv:{unit,py38,py39,py310,py311,py312,py}]
66
description = unit testing
77
skip_install = true
88
passenv =
@@ -13,7 +13,7 @@ deps =
1313
-rdev-requirements.txt
1414
-e.
1515

16-
[testenv:{integration,py38,py39,py310,py311,py}-{bigquery}]
16+
[testenv:{integration,py38,py39,py310,py311,py312,py}-{bigquery}]
1717
description = adapter plugin integration testing
1818
skip_install = true
1919
passenv =
@@ -33,7 +33,7 @@ deps =
3333
-rdev-requirements.txt
3434
-e.
3535

36-
[testenv:{python-tests,py38,py39,py310,py311,py}]
36+
[testenv:{python-tests,py38,py39,py310,py311,py312,py}]
3737
description = python integration testing
3838
skip_install = true
3939
passenv =

0 commit comments

Comments
 (0)