Fix torch detach()
before numpy()
issue
#11
Workflow file for this run
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: Pytest | |
on: | |
pull_request: | |
branches: | |
- main | |
- develop | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.10' | |
- name: Install apt dependencies | |
run: | | |
sudo add-apt-repository ppa:savoury1/ffmpeg4 | |
sudo apt-get update | |
sudo apt-get -y install ffmpeg libportaudio2=19.6.0-1.1 | |
- name: Install pip dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install .[tests] | |
- name: Run tests | |
run: | | |
pytest |