Skip to content

Commit

Permalink
Start testing Python 3.11 in travis
Browse files Browse the repository at this point in the history
Signed-off-by: Avi Shinnar <shinnar@us.ibm.com>
  • Loading branch information
shinnar committed Feb 1, 2024
1 parent 34713af commit 9157756
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.8, 3.9, '3.10']
python-version: [3.8, 3.9, '3.10', '3.11']

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -115,6 +115,9 @@ jobs:
- test-case: test/test_core_misc.py
python-version: '3.10'
setup-target: '.[full,test]'
- test-case: test/test_core_misc.py
python-version: '3.11'
setup-target: '.[full,test]'
- test-case: test/test_autogen_lib.py
python-version: 3.8
setup-target: '.[test]'
Expand Down Expand Up @@ -195,7 +198,7 @@ jobs:
- test/test_autogen_lib.py
- test/test_relational.py
- test/test_category_encoders.py
python-version: [3.8, 3.9, '3.10']
python-version: [3.8, 3.9, '3.10', '3.11']
setup-target: ['.[full,test]']
include:
- test-case: test/test_autogen_lib.py
Expand Down Expand Up @@ -268,7 +271,7 @@ jobs:
- test/test_core_classifiers.py
- test/test_core_regressors.py
- test/test_core_transformers.py
python-version: ['3.10']
python-version: ['3.10', '3.11']
setup-target: ['.']
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -385,7 +388,7 @@ jobs:
- demo_
- docs_
- talk_
python-version: [3.8, 3.9, '3.10']
python-version: [3.8, 3.9, '3.10', '3.11']
setup-target: ['.[full,test]']
test-case: ['test/test_notebooks.py']
dir: ['examples']
Expand All @@ -411,6 +414,11 @@ jobs:
setup-target: '.[tutorial,test]'
test-case: 'test/test_notebooks.py'
# nbexcludes: '06_multobj.ipynb'
- dir: 'examples/kdd22'
python-version: '3.11'
setup-target: '.[tutorial,test]'
test-case: 'test/test_notebooks.py'
# nbexcludes: '06_multobj.ipynb'

steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
Expand Down

0 comments on commit 9157756

Please sign in to comment.