forked from bendalab/audioio
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (37 loc) · 1.28 KB
/
runchecks.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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 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