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}
image: Visual Studio 2015
platform: x64
configuration: # a trick to construct a build matrix with multiple Python versions
- '3.7'
- '3.8'
# only build pull requests and
# commits to 'master' or any branch starting with 'release'
......
......@@ -30,17 +30,17 @@ jobs:
include:
- method: wheel
compiler: gcc
python_version: "3.10"
python_version: "3.11"
cuda_version: "11.7.1"
task: cuda
- method: source
compiler: gcc
python_version: "3.8"
python_version: "3.9"
cuda_version: "10.0"
task: cuda
- method: pip
compiler: clang
python_version: "3.9"
python_version: "3.10"
cuda_version: "11.7.1"
task: cuda
steps:
......
......@@ -11,7 +11,7 @@ env:
CONDA_ENV: test-env
GITHUB_ACTIONS: 'true'
OS_NAME: 'linux'
PYTHON_VERSION: '3.10'
PYTHON_VERSION: '3.11'
TASK: 'check-links'
jobs:
......
......@@ -29,28 +29,28 @@ jobs:
include:
- os: macOS-latest
task: regular
python_version: '3.8'
python_version: '3.9'
- os: macOS-latest
task: sdist
python_version: '3.9'
python_version: '3.10'
- os: macOS-latest
task: bdist
python_version: '3.7'
- os: macOS-latest
task: if-else
python_version: '3.8'
python_version: '3.9'
- os: macOS-latest
task: mpi
method: source
python_version: '3.9'
python_version: '3.10'
- os: macOS-latest
task: mpi
method: pip
python_version: '3.10'
python_version: '3.11'
- os: macOS-latest
task: mpi
method: wheel
python_version: '3.7'
python_version: '3.8'
steps:
- name: Checkout repository
uses: actions/checkout@v3
......
......@@ -10,7 +10,7 @@ pr:
- release/*
variables:
AZURE: 'true'
PYTHON_VERSION: '3.10'
PYTHON_VERSION: '3.11'
CONDA_ENV: test-env
runCodesignValidationInjection: false
skipComponentGovernanceDetection: true
......@@ -97,7 +97,7 @@ jobs:
TASK: sdist
bdist:
TASK: bdist
PYTHON_VERSION: '3.8'
PYTHON_VERSION: '3.9'
inference:
TASK: if-else
mpi_source:
......@@ -106,23 +106,23 @@ jobs:
mpi_pip:
TASK: mpi
METHOD: pip
PYTHON_VERSION: '3.9'
PYTHON_VERSION: '3.10'
mpi_wheel:
TASK: mpi
METHOD: wheel
PYTHON_VERSION: '3.7'
PYTHON_VERSION: '3.8'
gpu_source:
TASK: gpu
METHOD: source
PYTHON_VERSION: '3.9'
PYTHON_VERSION: '3.10'
gpu_pip:
TASK: gpu
METHOD: pip
PYTHON_VERSION: '3.8'
PYTHON_VERSION: '3.9'
gpu_wheel:
TASK: gpu
METHOD: wheel
PYTHON_VERSION: '3.7'
PYTHON_VERSION: '3.8'
cpp_tests:
TASK: cpp-tests
METHOD: with-sanitizers
......@@ -224,10 +224,10 @@ jobs:
matrix:
regular:
TASK: regular
PYTHON_VERSION: '3.9'
PYTHON_VERSION: '3.10'
sdist:
TASK: sdist
PYTHON_VERSION: '3.8'
PYTHON_VERSION: '3.9'
bdist:
TASK: bdist
swig:
......@@ -264,10 +264,10 @@ jobs:
matrix:
regular:
TASK: regular
PYTHON_VERSION: '3.9'
PYTHON_VERSION: '3.10'
sdist:
TASK: sdist
PYTHON_VERSION: '3.8'
PYTHON_VERSION: '3.9'
bdist:
TASK: bdist
swig:
......
......@@ -14,6 +14,7 @@ classifiers = [
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Artificial Intelligence"
]
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