github: remove test-requirements.txt
This commit is contained in:
9
.github/workflows/tests.yaml
vendored
9
.github/workflows/tests.yaml
vendored
@@ -30,9 +30,9 @@ jobs:
|
|||||||
- name: Cache virtual environment
|
- name: Cache virtual environment
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
# We are hashing dev-requirements.txt and test-requirements.txt which
|
# We are hashing dev-requirements.txt and pyproject.toml which contain
|
||||||
# contain all dependencies needed to run the tests.
|
# all dependencies needed to run the tests.
|
||||||
key: venv-${{ runner.os }}-${{ steps.setup_python.outputs.python-version}}-${{ hashFiles('dev-requirements.txt') }}-${{ hashFiles('test-requirements.txt') }}
|
key: venv-${{ runner.os }}-${{ steps.setup_python.outputs.python-version}}-${{ hashFiles('dev-requirements.txt') }}-${{ hashFiles('pyproject.toml') }}
|
||||||
path: .venv
|
path: .venv
|
||||||
- name: Install system packages
|
- name: Install system packages
|
||||||
id: install_system_packages
|
id: install_system_packages
|
||||||
@@ -45,7 +45,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
source .venv/bin/activate
|
source .venv/bin/activate
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install -r dev-requirements.txt -r test-requirements.txt
|
pip install -r dev-requirements.txt
|
||||||
|
pip install ".[all]"
|
||||||
- name: Test with pytest
|
- name: Test with pytest
|
||||||
run: |
|
run: |
|
||||||
source .venv/bin/activate
|
source .venv/bin/activate
|
||||||
|
|||||||
@@ -192,7 +192,13 @@ pip install "path_to_this_repo[option,...]"
|
|||||||
|
|
||||||
### Running tests
|
### Running tests
|
||||||
|
|
||||||
From the root directory, run:
|
Make sure you have all the dependencies installed:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
pip install --editable ".[all]"
|
||||||
|
```
|
||||||
|
|
||||||
|
Then, from the root directory, run:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
pytest --doctest-modules --ignore-glob="*to_be_updated*" --ignore-glob=*pipeline_source* src tests
|
pytest --doctest-modules --ignore-glob="*to_be_updated*" --ignore-glob=*pipeline_source* src tests
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ dependencies = [
|
|||||||
"loguru~=0.7.3",
|
"loguru~=0.7.3",
|
||||||
"Markdown~=3.7",
|
"Markdown~=3.7",
|
||||||
"numpy~=1.26.4",
|
"numpy~=1.26.4",
|
||||||
"Pillow~=11.1.0",
|
"Pillow~=10.4.0",
|
||||||
"protobuf~=5.29.3",
|
"protobuf~=5.29.3",
|
||||||
"pydantic~=2.10.5",
|
"pydantic~=2.10.5",
|
||||||
"pyloudnorm~=0.1.1",
|
"pyloudnorm~=0.1.1",
|
||||||
|
|||||||
@@ -1,29 +0,0 @@
|
|||||||
aiohttp~=3.10.3
|
|
||||||
anthropic~=0.30.0
|
|
||||||
azure-cognitiveservices-speech~=1.40.0
|
|
||||||
boto3~=1.35.27
|
|
||||||
daily-python~=0.11.0
|
|
||||||
deepgram-sdk~=3.5.0
|
|
||||||
fal-client~=0.4.1
|
|
||||||
fastapi~=0.115.0
|
|
||||||
faster-whisper~=1.0.3
|
|
||||||
google-cloud-texttospeech~=2.21.1
|
|
||||||
google-generativeai~=0.8.3
|
|
||||||
langchain~=0.2.14
|
|
||||||
livekit~=0.13.1
|
|
||||||
lmnt~=1.1.4
|
|
||||||
loguru~=0.7.2
|
|
||||||
numpy~=1.26.4
|
|
||||||
openai~=1.37.2
|
|
||||||
openpipe~=4.24.0
|
|
||||||
Pillow~=10.4.0
|
|
||||||
pyaudio~=0.2.14
|
|
||||||
pydantic~=2.8.2
|
|
||||||
pyloudnorm~=0.1.1
|
|
||||||
pyht~=0.1.4
|
|
||||||
python-dotenv~=1.0.1
|
|
||||||
resampy~=0.4.3
|
|
||||||
silero-vad~=5.1
|
|
||||||
together~=1.2.7
|
|
||||||
transformers~=4.44.0
|
|
||||||
websockets~=13.1
|
|
||||||
Reference in New Issue
Block a user