buzz/demucs/.github/workflows/tests.yml
Raivis Dejus 73376a63ac
Add speaker identification2 (#1290)
Co-authored-by: David Olowomeye <100958002+greatdaveo@users.noreply.github.com>
2025-12-02 21:39:24 +02:00

36 lines
864 B
YAML

name: tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
if: ${{ github.repository == 'facebookresearch/demucs' || github.event_name == 'workflow_dispatch' }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.8
- uses: actions/cache@v2
with:
path: env
key: env-${{ hashFiles('**/requirements.txt', '.github/workflows/*') }}
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y ffmpeg
python3 -m venv env
. env/bin/activate
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run separation test
run: |
. env/bin/activate
make test_eval