diff options
author | Rémi Flamary <remi.flamary@gmail.com> | 2023-04-17 20:31:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-17 20:31:53 +0200 |
commit | 2e1972d421753ee350fa25cbcdc3da6540541455 (patch) | |
tree | 68289a5040d142860e4f42f07ce18453613bb735 /.github | |
parent | 2bbfbbb18cf0a0544f0913f1917d08fb5384ac9b (diff) |
[MRG] Fix circleci_redirector and codecov (#460)
* Try circleci_redirector fix
* reùove fixed version pytest-cov
* use new codecov way to upload
* bad return
* proper pr in release fle
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build_tests.yml | 9 | ||||
-rw-r--r-- | .github/workflows/circleci-redirector.yml | 1 |
2 files changed, 5 insertions, 5 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 |