Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .github/workflows/build_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ on:
workflow_dispatch:
pull_request:
branches:
- 'master'
- 'master'
push:
branches:
- 'master'
- 'master'
create:
branches:
- 'master'
Expand All @@ -22,7 +22,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
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
Expand All @@ -49,14 +49,14 @@ jobs:
if: "!contains(github.event.head_commit.message, 'no pep8')"
steps:
- uses: actions/checkout@v4
- name: Set up Python
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.x"
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
pip install flake8
pip install flake8
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
Expand All @@ -70,10 +70,10 @@ jobs:
if: "!contains(github.event.head_commit.message, 'no ci')"
steps:
- uses: actions/checkout@v4
- name: Set up Python
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
Expand All @@ -94,7 +94,7 @@ jobs:
max-parallel: 4
matrix:
os: [macos-latest, macos-13]
python-version: ["3.11"]
python-version: ["3.12"]

steps:
- uses: actions/checkout@v4
Expand All @@ -109,7 +109,7 @@ jobs:
run: |
python -m pip install --upgrade pip setuptools
pip install -r requirements_all.txt
pip install pytest
pip install pytest
- name: Run tests
run: |
python -m pytest --durations=20 -v test/ ot/ --color=yes
Expand All @@ -121,7 +121,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: ["3.11"]
python-version: ["3.12"]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ numpy>=1.20
scipy>=1.6
matplotlib
autograd
pymanopt
pymanopt @ git+https://github.com/pymanopt/pymanopt.git@master
cvxopt
scikit-learn
torch
Expand Down