-
Notifications
You must be signed in to change notification settings - Fork 33
33 lines (32 loc) · 1.11 KB
/
unittest.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
name: Test preprocess and extract
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.9", "3.10"]
os: [ubuntu-latest]
fail-fast: true
steps:
- uses: actions/checkout@master
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt update
sudo apt -y install ffmpeg
python -m pip install --upgrade pip
python -m pip install --upgrade setuptools
python -m pip install --upgrade wheel
pip install torch torchvision torchaudio
pip install -r requirements.txt
python rvc_cli.py prerequisites --models True
- name: Test Preprocess
run: |
python rvc_cli.py preprocess --model_name "Evaluate" --dataset_path "logs/mute/sliced_audios" --sample_rate 48000
- name: Test Extract
run: |
python rvc_cli.py extract --model_name "Evaluate" --sample_rate 48000