[audiometadata] simplified example #148
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.9 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.9' | |
- 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 nose nose-cov | |
pip install codecov | |
pip install pdoc3 | |
pip install mkdocs | |
pip install -r requirements.txt | |
- name: Check modules | |
run: python3 -m audioio.audiomodules | |
shell: bash | |
- name: Run tests | |
run: nosetests -vv --with-coverage --cover-package=audioio | |
shell: bash | |
- name: Build documentation | |
run: ./build-docs.sh | |
shell: bash |