Skip to content
代码片段 群组 项目
提交 a0e950b4 编辑于 作者: Valentyn Tymofieiev's avatar Valentyn Tymofieiev
浏览文件

Add a tox suite for Py312.

上级 0e075b69
No related branches found
No related tags found
无相关合并请求
......@@ -63,7 +63,7 @@ jobs:
matrix:
job_name: ["beam_PostCommit_Python_Examples_Direct"]
job_phrase: ["Run Python Examples_Direct"]
python_version: ['3.8','3.9','3.10','3.11']
python_version: ['3.8','3.9','3.10','3.11','3.12']
steps:
- uses: actions/checkout@v4
- name: Setup repository
......
......@@ -64,7 +64,7 @@ jobs:
matrix:
job_name: ['beam_PreCommit_Python']
job_phrase: ['Run Python PreCommit']
python_version: ['3.8','3.9','3.10','3.11']
python_version: ['3.8','3.9','3.10','3.11','3.12']
if: |
github.event_name == 'push' ||
github.event_name == 'pull_request_target' ||
......
......@@ -64,7 +64,7 @@ jobs:
matrix:
job_name: ['beam_PreCommit_Python_Dataframes']
job_phrase: ['Run Python_Dataframes PreCommit']
python_version: ['3.8','3.9','3.10','3.11']
python_version: ['3.8','3.9','3.10','3.11','3.12']
if: |
github.event_name == 'push' ||
github.event_name == 'pull_request_target' ||
......
......@@ -64,7 +64,7 @@ jobs:
matrix:
job_name: ['beam_PreCommit_Python_Runners']
job_phrase: ['Run Python_Runners PreCommit']
python_version: ['3.8','3.9','3.10','3.11']
python_version: ['3.8','3.9','3.10','3.11','3.12']
if: |
github.event_name == 'push' ||
github.event_name == 'pull_request_target' ||
......
......@@ -64,7 +64,7 @@ jobs:
matrix:
job_name: ['beam_PreCommit_Python_Transforms']
job_phrase: ['Run Python_Transforms PreCommit']
python_version: ['3.8','3.9','3.10','3.11']
python_version: ['3.8','3.9','3.10','3.11','3.12']
if: |
github.event_name == 'push' ||
github.event_name == 'pull_request_target' ||
......
......@@ -102,6 +102,7 @@ jobs:
{"py_ver": "3.9", "tox_env": "py39"},
{"py_ver": "3.10", "tox_env": "py310" },
{ "py_ver": "3.11", "tox_env": "py311" },
{ "py_ver": "3.12", "tox_env": "py312" },
]
steps:
- name: Checkout code
......@@ -134,7 +135,7 @@ jobs:
fail-fast: false
matrix:
os: [[self-hosted, ubuntu-20.04, main], macos-latest, windows-latest]
python: ["3.8", "3.9", "3.10", "3.11"]
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- name: Checkout code
uses: actions/checkout@v4
......@@ -159,7 +160,7 @@ jobs:
fail-fast: false
matrix:
os: [[self-hosted, ubuntu-20.04, main], macos-latest, windows-latest]
python: ["3.8", "3.9", "3.10", "3.11"]
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- name: Checkout code
uses: actions/checkout@v4
......
......@@ -473,6 +473,7 @@ tasks.register("pythonPreCommit") {
dependsOn(":sdks:python:test-suites:tox:py39:preCommitPy39")
dependsOn(":sdks:python:test-suites:tox:py310:preCommitPy310")
dependsOn(":sdks:python:test-suites:tox:py311:preCommitPy311")
dependsOn(":sdks:python:test-suites:tox:py312:preCommitPy312")
}
tasks.register("pythonPreCommitIT") {
......
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* License); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an AS IS BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Unit tests for Python 3.12
*/
plugins { id 'org.apache.beam.module' }
applyPythonNature()
// Required to setup a Python 3 virtualenv and task names.
pythonVersion = '3.12'
apply from: "../common.gradle"
......@@ -320,6 +320,7 @@ include(":sdks:python:test-suites:tox:py38")
include(":sdks:python:test-suites:tox:py39")
include(":sdks:python:test-suites:tox:py310")
include(":sdks:python:test-suites:tox:py311")
include(":sdks:python:test-suites:tox:py312")
include(":sdks:python:test-suites:xlang")
include(":sdks:typescript")
include(":sdks:typescript:container")
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册