Skip to content

Update build_tests.yml #621

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
May 27, 2024
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
10 changes: 5 additions & 5 deletions .github/workflows/build_doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
# Standard drop-in approach that should work for most people.

- name: Set up Python 3.8
uses: actions/setup-python@v1
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: "3.10"

- name: Get Python running
run: |
Expand All @@ -41,4 +41,4 @@ jobs:
- uses: actions/upload-artifact@v1
with:
name: Documentation
path: docs/build/html/
path: docs/build/html/
24 changes: 12 additions & 12 deletions .github/workflows/build_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
python-version: ["3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install POT
Expand All @@ -48,9 +48,9 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'no pep8')"
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
Expand All @@ -69,9 +69,9 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'no ci')"
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
Expand All @@ -93,12 +93,12 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: ["3.10"]
python-version: ["3.11"]

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install POT
Expand All @@ -120,12 +120,12 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: ["3.10"]
python-version: ["3.11"]

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: RC.exe
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_tests_cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
if: github.event.review.state == 'approved' || github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == 'refs/heads/master')

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Install POT
run: |
python3.10 -m pip install --ignore-installed -e .
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: "3.10"

Expand Down Expand Up @@ -53,9 +53,9 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
- uses: actions/checkout@v1
- name: Set up Python 3.8
uses: actions/setup-python@v1
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_wheels_weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: "3.10"

Expand Down
4 changes: 2 additions & 2 deletions examples/barycenters/plot_barycenter_1D.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
#%% plot interpolation
plt.figure(2)

cmap = plt.cm.get_cmap('viridis')
cmap = plt.get_cmap('viridis')
verts = []
zs = alpha_list
for i, z in enumerate(zs):
Expand All @@ -122,7 +122,7 @@
plt.tight_layout()

plt.figure(3)
cmap = plt.cm.get_cmap('viridis')
cmap = plt.get_cmap('viridis')
verts = []
zs = alpha_list
for i, z in enumerate(zs):
Expand Down
4 changes: 2 additions & 2 deletions examples/unbalanced-partial/plot_UOT_barycenter_1D.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@

pl.figure(3)

cmap = pl.cm.get_cmap('viridis')
cmap = pl.get_cmap('viridis')
verts = []
zs = weight_list
for i, z in enumerate(zs):
Expand All @@ -142,7 +142,7 @@
pl.tight_layout()

pl.figure(4)
cmap = pl.cm.get_cmap('viridis')
cmap = pl.get_cmap('viridis')
verts = []
zs = weight_list
for i, z in enumerate(zs):
Expand Down
Loading