Unverified Commit 32bd71e7 authored by James Lamb's avatar James Lamb Committed by GitHub
Browse files

[ci] add Python 3.11 test coverage (#5922)

parent 2b74e9fe
...@@ -3,7 +3,7 @@ version: 3.3.5.99.{build} ...@@ -3,7 +3,7 @@ version: 3.3.5.99.{build}
image: Visual Studio 2015 image: Visual Studio 2015
platform: x64 platform: x64
configuration: # a trick to construct a build matrix with multiple Python versions configuration: # a trick to construct a build matrix with multiple Python versions
- '3.7' - '3.8'
# only build pull requests and # only build pull requests and
# commits to 'master' or any branch starting with 'release' # commits to 'master' or any branch starting with 'release'
......
...@@ -30,17 +30,17 @@ jobs: ...@@ -30,17 +30,17 @@ jobs:
include: include:
- method: wheel - method: wheel
compiler: gcc compiler: gcc
python_version: "3.10" python_version: "3.11"
cuda_version: "11.7.1" cuda_version: "11.7.1"
task: cuda task: cuda
- method: source - method: source
compiler: gcc compiler: gcc
python_version: "3.8" python_version: "3.9"
cuda_version: "10.0" cuda_version: "10.0"
task: cuda task: cuda
- method: pip - method: pip
compiler: clang compiler: clang
python_version: "3.9" python_version: "3.10"
cuda_version: "11.7.1" cuda_version: "11.7.1"
task: cuda task: cuda
steps: steps:
......
...@@ -11,7 +11,7 @@ env: ...@@ -11,7 +11,7 @@ env:
CONDA_ENV: test-env CONDA_ENV: test-env
GITHUB_ACTIONS: 'true' GITHUB_ACTIONS: 'true'
OS_NAME: 'linux' OS_NAME: 'linux'
PYTHON_VERSION: '3.10' PYTHON_VERSION: '3.11'
TASK: 'check-links' TASK: 'check-links'
jobs: jobs:
......
...@@ -29,28 +29,28 @@ jobs: ...@@ -29,28 +29,28 @@ jobs:
include: include:
- os: macOS-latest - os: macOS-latest
task: regular task: regular
python_version: '3.8' python_version: '3.9'
- os: macOS-latest - os: macOS-latest
task: sdist task: sdist
python_version: '3.9' python_version: '3.10'
- os: macOS-latest - os: macOS-latest
task: bdist task: bdist
python_version: '3.7' python_version: '3.7'
- os: macOS-latest - os: macOS-latest
task: if-else task: if-else
python_version: '3.8' python_version: '3.9'
- os: macOS-latest - os: macOS-latest
task: mpi task: mpi
method: source method: source
python_version: '3.9' python_version: '3.10'
- os: macOS-latest - os: macOS-latest
task: mpi task: mpi
method: pip method: pip
python_version: '3.10' python_version: '3.11'
- os: macOS-latest - os: macOS-latest
task: mpi task: mpi
method: wheel method: wheel
python_version: '3.7' python_version: '3.8'
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v3
......
...@@ -10,7 +10,7 @@ pr: ...@@ -10,7 +10,7 @@ pr:
- release/* - release/*
variables: variables:
AZURE: 'true' AZURE: 'true'
PYTHON_VERSION: '3.10' PYTHON_VERSION: '3.11'
CONDA_ENV: test-env CONDA_ENV: test-env
runCodesignValidationInjection: false runCodesignValidationInjection: false
skipComponentGovernanceDetection: true skipComponentGovernanceDetection: true
...@@ -97,7 +97,7 @@ jobs: ...@@ -97,7 +97,7 @@ jobs:
TASK: sdist TASK: sdist
bdist: bdist:
TASK: bdist TASK: bdist
PYTHON_VERSION: '3.8' PYTHON_VERSION: '3.9'
inference: inference:
TASK: if-else TASK: if-else
mpi_source: mpi_source:
...@@ -106,23 +106,23 @@ jobs: ...@@ -106,23 +106,23 @@ jobs:
mpi_pip: mpi_pip:
TASK: mpi TASK: mpi
METHOD: pip METHOD: pip
PYTHON_VERSION: '3.9' PYTHON_VERSION: '3.10'
mpi_wheel: mpi_wheel:
TASK: mpi TASK: mpi
METHOD: wheel METHOD: wheel
PYTHON_VERSION: '3.7' PYTHON_VERSION: '3.8'
gpu_source: gpu_source:
TASK: gpu TASK: gpu
METHOD: source METHOD: source
PYTHON_VERSION: '3.9' PYTHON_VERSION: '3.10'
gpu_pip: gpu_pip:
TASK: gpu TASK: gpu
METHOD: pip METHOD: pip
PYTHON_VERSION: '3.8' PYTHON_VERSION: '3.9'
gpu_wheel: gpu_wheel:
TASK: gpu TASK: gpu
METHOD: wheel METHOD: wheel
PYTHON_VERSION: '3.7' PYTHON_VERSION: '3.8'
cpp_tests: cpp_tests:
TASK: cpp-tests TASK: cpp-tests
METHOD: with-sanitizers METHOD: with-sanitizers
...@@ -224,10 +224,10 @@ jobs: ...@@ -224,10 +224,10 @@ jobs:
matrix: matrix:
regular: regular:
TASK: regular TASK: regular
PYTHON_VERSION: '3.9' PYTHON_VERSION: '3.10'
sdist: sdist:
TASK: sdist TASK: sdist
PYTHON_VERSION: '3.8' PYTHON_VERSION: '3.9'
bdist: bdist:
TASK: bdist TASK: bdist
swig: swig:
...@@ -264,10 +264,10 @@ jobs: ...@@ -264,10 +264,10 @@ jobs:
matrix: matrix:
regular: regular:
TASK: regular TASK: regular
PYTHON_VERSION: '3.9' PYTHON_VERSION: '3.10'
sdist: sdist:
TASK: sdist TASK: sdist
PYTHON_VERSION: '3.8' PYTHON_VERSION: '3.9'
bdist: bdist:
TASK: bdist TASK: bdist
swig: swig:
......
...@@ -14,6 +14,7 @@ classifiers = [ ...@@ -14,6 +14,7 @@ classifiers = [
"Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Artificial Intelligence" "Topic :: Scientific/Engineering :: Artificial Intelligence"
] ]
dependencies = [ dependencies = [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment