changeset 448:3911ff1d719d

Merge branch 'master' of https://github.com/amsehili/auditok
author www-data <www-data@c4dm-xenserv-virt2.eecs.qmul.ac.uk>
date Thu, 31 Oct 2024 09:17:59 +0000
parents 0fec1621aa3f (current diff) 2f59d326cc0d (diff)
children ea94b19d13cb
files CHANGELOG README.rst
diffstat 4 files changed, 25 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/.github/workflows/ci.yml	Thu Oct 31 08:17:59 2024 +0000
+++ b/.github/workflows/ci.yml	Thu Oct 31 09:17:59 2024 +0000
@@ -29,11 +29,16 @@
     - 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
+
+    - name: Upload results to Codecov
+      uses: codecov/codecov-action@v4
+      with:
+        token: ${{ secrets.CODECOV_TOKEN }}
--- a/CHANGELOG	Thu Oct 31 08:17:59 2024 +0000
+++ b/CHANGELOG	Thu Oct 31 09:17:59 2024 +0000
@@ -1,6 +1,18 @@
 auditok Changelog
 =================
 
+Version 0.3.0
+-------------
+
+- Use `numpy` instead of the `audioop` (deprecated then removed in Python 13) for signal processing operations
+- Use `pytest` instead of `genty` for tests
+- Accept input of type `Path` for `split`
+- Remove deprecated `ADSFactory`
+- Implement `AudioRegion.join`, `make_silence` and `split_and_join_with_silence`
+- Use Github Actions instead of travis for CI
+- Use Codecov for tests coverage
+
+
 Version 0.2.0
 -------------
 
--- a/README.rst	Thu Oct 31 08:17:59 2024 +0000
+++ b/README.rst	Thu Oct 31 09:17:59 2024 +0000
@@ -5,6 +5,9 @@
     :target: https://github.com/amsehili/auditok/actions/workflows/ci.yml/
     :alt: Build Status
 
+.. image:: https://codecov.io/github/amsehili/auditok/graph/badge.svg?token=0rwAqYBdkf
+ :target: https://codecov.io/github/amsehili/auditok
+
 .. image:: https://readthedocs.org/projects/auditok/badge/?version=latest
     :target: http://auditok.readthedocs.org/en/latest/?badge=latest
     :alt: Documentation Status
--- a/doc/index.rst	Thu Oct 31 08:17:59 2024 +0000
+++ b/doc/index.rst	Thu Oct 31 09:17:59 2024 +0000
@@ -5,6 +5,9 @@
     :target: https://github.com/amsehili/auditok/actions/workflows/ci.yml/
     :alt: Build Status
 
+.. image:: https://codecov.io/github/amsehili/auditok/graph/badge.svg?token=0rwAqYBdkf
+ :target: https://codecov.io/github/amsehili/auditok
+
 .. image:: https://readthedocs.org/projects/auditok/badge/?version=latest
     :target: http://auditok.readthedocs.org/en/latest/?badge=latest
     :alt: Documentation Status