mirror of
https://github.com/snakers4/silero-vad.git
synced 2026-02-05 18:09:22 +08:00
fx workflow
This commit is contained in:
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
@@ -40,7 +40,7 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install build hatchling pytest soundfile torchcodec
|
pip install build hatchling pytest soundfile
|
||||||
|
|
||||||
- name: Build package
|
- name: Build package
|
||||||
run: python -m build --wheel --outdir dist
|
run: python -m build --wheel --outdir dist
|
||||||
@@ -52,5 +52,10 @@ jobs:
|
|||||||
subprocess.check_call([sys.executable, "-m", "pip", "install", whl])
|
subprocess.check_call([sys.executable, "-m", "pip", "install", whl])
|
||||||
shell: python
|
shell: python
|
||||||
|
|
||||||
|
- name: Install torchcodec
|
||||||
|
run: |
|
||||||
|
# Только ПОСЛЕ установки вашего пакета
|
||||||
|
pip install torchcodec
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: pytest tests
|
run: pytest tests
|
||||||
Reference in New Issue
Block a user