summaryrefslogtreecommitdiff
path: root/.github/workflows/build_tests.yml
diff options
context:
space:
mode:
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