Skip to content

Update tests

Update tests #10

Workflow file for this run

name: test.yml
on: [push, pull_request]
jobs:
test-pypi:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Python 3.11
uses: actions/setup-python@master
with:
python-version: '3.11'
- name: Install
run: |
sudo apt update
sudo apt install --yes libsndfile1
pip install pytest
pip install demucs
pip install .
- name: Test
run: |
pytest --capture=tee-sys tests
test-github:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Python 3.11
uses: actions/setup-python@master
with:
python-version: '3.11'
- name: Install
run: |
sudo apt update
sudo apt install --yes libsndfile1
pip install pytest
pip install git+https://github.com/adefossez/demucs#egg=demucs
pip install .
- name: Test
run: |
pytest --capture=tee-sys tests