summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build_tests.yml9
-rw-r--r--.github/workflows/circleci-redirector.yml1
-rw-r--r--RELEASES.md10
-rw-r--r--ot/__init__.py2
4 files changed, 15 insertions, 7 deletions
diff --git a/.github/workflows/build_tests.yml b/.github/workflows/build_tests.yml
index ce725c6..a2d26f1 100644
--- a/.github/workflows/build_tests.yml
+++ b/.github/workflows/build_tests.yml
@@ -37,13 +37,12 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- pip install pytest "pytest-cov<2.6" codecov
+ pip install pytest pytest-cov
- name: Run tests
run: |
- python -m pytest --durations=20 -v test/ ot/ --doctest-modules --ignore ot/gpu/ --cov=ot --color=yes
- - name: Upload codecov
- run: |
- codecov
+ python -m pytest --durations=20 -v test/ ot/ --doctest-modules --color=yes --cov-report=xml
+ - name: Upload coverage reports to Codecov with GitHub Action
+ uses: codecov/codecov-action@v3
pep8:
runs-on: ubuntu-latest
diff --git a/.github/workflows/circleci-redirector.yml b/.github/workflows/circleci-redirector.yml
index ae7bfca..bb8e8a0 100644
--- a/.github/workflows/circleci-redirector.yml
+++ b/.github/workflows/circleci-redirector.yml
@@ -8,6 +8,7 @@ jobs:
- name: GitHub Action step
uses: larsoner/circleci-artifacts-redirector-action@master
with:
+ api-token: ${{ secrets.CIRCLECI_TOKEN }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
artifact-path: 0/dev/index.html
circleci-jobs: build_docs
diff --git a/RELEASES.md b/RELEASES.md
index e978905..6e4188f 100644
--- a/RELEASES.md
+++ b/RELEASES.md
@@ -1,5 +1,13 @@
# Releases
+## 0.9.1dev
+
+#### New features
+
+#### Closed issues
+
+- Fix circleci-redirector action and codecov (PR #460)
+
## 0.9.0
This new release contains so many new features and bug fixes since 0.8.2 that we
@@ -93,7 +101,7 @@ big. More details below.
- Added parameters method in `ot.da.SinkhornTransport` (PR #440)
- `ot.dr` now uses the new Pymanopt API and POT is compatible with current
Pymanopt (PR #443)
-- Added CO-Optimal Transport solver + examples (PR # 447)
+- Added CO-Optimal Transport solver + examples (PR #447)
- Remove the redundant `nx.abs()` at the end of `wasserstein_1d()` (PR #448)
#### Closed issues
diff --git a/ot/__init__.py b/ot/__init__.py
index 1a685b6..eb00551 100644
--- a/ot/__init__.py
+++ b/ot/__init__.py
@@ -55,7 +55,7 @@ from .solvers import solve
# utils functions
from .utils import dist, unif, tic, toc, toq
-__version__ = "0.9.0"
+__version__ = "0.9.1dev"
__all__ = ['emd', 'emd2', 'emd_1d', 'sinkhorn', 'sinkhorn2', 'utils',
'datasets', 'bregman', 'lp', 'tic', 'toc', 'toq', 'gromov',