Skip to content

[audioconverter] catch file not found and permission errors #162

[audioconverter] catch file not found and permission errors

[audioconverter] catch file not found and permission errors #162

Workflow file for this run

name: checks
on: [push]
jobs:
run-checks:
if: github.repository == 'janscience/audioio'
runs-on: ubuntu-latest
steps:
- name: Checkout audioio
uses: actions/checkout@v4
- name: Setup python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y libblas-dev liblapack-dev gfortran libsndfile1 libsndfile1-dev libffi-dev ffmpeg libportaudio2 portaudio19-dev osspd libasound2-dev python3-dev
python -m pip install --upgrade pip
pip install wavefile
pip install git+https://github.com/melizalab/py-ewave
pip install pydub
pip install pyaudio
pip install sounddevice
pip install soundcard
pip install pytest pytest-cov
pip install pdoc3
pip install mkdocs
pip install -r requirements.txt
- name: Check modules
run: python3 -m src.audioio.audiomodules
shell: bash
- name: Run tests
run: pytest -v --cov-report xml --cov-report html:cover --cov-report term --cov audioio tests/
shell: bash
- name: Build documentation
run: ./build-docs.sh
shell: bash