summaryrefslogtreecommitdiff
path: root/.github/workflows/build_tests.yml
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2023-04-17 20:31:53 +0200
committerGitHub <noreply@github.com>2023-04-17 20:31:53 +0200
commit2e1972d421753ee350fa25cbcdc3da6540541455 (patch)
tree68289a5040d142860e4f42f07ce18453613bb735 /.github/workflows/build_tests.yml
parent2bbfbbb18cf0a0544f0913f1917d08fb5384ac9b (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/workflows/build_tests.yml')
-rw-r--r--.github/workflows/build_tests.yml9
1 files changed, 4 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