Bug fix for repitching & tempo automix errors #343
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: 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 |