changeset 444:dde9d076e6ee

Add codecov
author Amine Sehili <amine.sehili@gmail.com>
date Thu, 31 Oct 2024 09:24:40 +0100
parents 44dcd2c4d860
children cb1e1ffc34ee
files .github/workflows/ci.yml
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/.github/workflows/ci.yml	Thu Oct 31 09:06:39 2024 +0100
+++ b/.github/workflows/ci.yml	Thu Oct 31 09:24:40 2024 +0100
@@ -29,11 +29,11 @@
     - name: Install dependencies
       run: |
         sudo apt-get update --fix-missing
-        pip install numpy pytest pydub matplotlib
+        pip install pytest-cov pytest numpy pydub matplotlib
 
     - name: Install specific package for Python 3.13 only
       if: matrix.python-version == '3.13'
       run: pip install audioop-lts
 
     - name: Run tests
-      run: pytest -s -p no:warnings "tests"
+      run: pytest -s  -p no:warnings --cov --cov-report=xml tests