From 2e1972d421753ee350fa25cbcdc3da6540541455 Mon Sep 17 00:00:00 2001 From: Rémi Flamary Date: Mon, 17 Apr 2023 20:31:53 +0200 Subject: [MRG] Fix circleci_redirector and codecov (#460) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Try circleci_redirector fix * reùove fixed version pytest-cov * use new codecov way to upload * bad return * proper pr in release fle --- .github/workflows/build_tests.yml | 9 ++++----- .github/workflows/circleci-redirector.yml | 1 + 2 files changed, 5 insertions(+), 5 deletions(-) (limited to '.github') 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 -- cgit v1.2.3