mirror of
https://github.com/HumanAIGC-Engineering/gradio-webrtc.git
synced 2026-02-05 01:49:23 +08:00
Fix audio type conversion (#259)
* Fix conversion between audio dtypes * Run Pytest in CI * Add pytest tests path in pyproject.toml * Fix usages * Use other PR's test format (more or less) * Support legacy arguments * Fix pyproject.toml and test location * Omit `test` arg in CI, given by pyproject.toml --------- Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
This commit is contained in:
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@@ -13,7 +13,7 @@ jobs:
|
||||
- name: Run linters
|
||||
run: |
|
||||
pip install ruff pyright
|
||||
pip install -e .
|
||||
pip install -e .[dev]
|
||||
ruff check .
|
||||
ruff format --check --diff .
|
||||
pyright
|
||||
@@ -35,5 +35,5 @@ jobs:
|
||||
run: |
|
||||
python -m pip install -U pip
|
||||
pip install .[dev]
|
||||
python -m pytest -s test
|
||||
python -m pytest --capture=no
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user