Skip to content

Commit

Permalink
make test requirements its own thing
Browse files Browse the repository at this point in the history
  • Loading branch information
mattieruth committed Sep 19, 2024
1 parent c9b3c12 commit 74005fb
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 44 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install system packages
id: install_system_packages
run: |
sudo apt-get install -y portaudio19-dev
- name: Setup virtual environment
run: |
python -m venv .venv
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install system packages
id: install_system_packages
run: |
sudo apt-get install -y portaudio19-dev
- name: Setup virtual environment
run: |
python -m venv .venv
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install system packages
id: install_system_packages
run: |
sudo apt-get install -y portaudio19-dev
- name: Setup virtual environment
run: |
python -m venv .venv
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ on:
- main
pull_request:
branches:
- "**"
- '**'
paths-ignore:
- "docs/**"
- 'docs/**'

concurrency:
group: build-test-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
test:
name: "Unit and Integration Tests"
name: 'Unit and Integration Tests'
runs-on: ubuntu-latest
steps:
- name: Checkout repo
Expand All @@ -26,7 +26,7 @@ jobs:
id: setup_python
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: '3.10'
- name: Install system packages
id: install_system_packages
run: |
Expand All @@ -38,7 +38,7 @@ jobs:
run: |
source .venv/bin/activate
python -m pip install --upgrade pip
pip install -r dev-requirements.txt
pip install -r test-requirements.txt
- name: Test with pytest
run: |
source .venv/bin/activate
Expand Down
27 changes: 0 additions & 27 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,35 +1,8 @@
aiohttp~=3.10.3
anthropic
autopep8~=2.3.1
azure-cognitiveservices-speech~=1.40.0
build~=1.2.1
daily-python~=0.10.1
deepgram-sdk~=3.5.0
fal-client~=0.4.1
fastapi~=0.112.1
faster-whisper~=1.0.3
google-generativeai~=0.7.2
grpcio-tools~=1.62.2
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
pip-tools~=7.4.1
pyaudio~=0.2.14
pydantic~=2.8.2
pyloudnorm~=0.1.1
pyht~=0.0.28
pyright~=1.1.376
pytest~=8.3.2
python-dotenv~=1.0.1
resampy~=0.4.3
setuptools~=72.2.0
setuptools_scm~=8.1.0
silero-vad~=5.1
together~=1.2.7
transformers~=4.44.0
websockets~=12.0
35 changes: 35 additions & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
aiohttp~=3.10.3
anthropic
autopep8~=2.3.1
azure-cognitiveservices-speech~=1.40.0
build~=1.2.1
daily-python~=0.10.1
deepgram-sdk~=3.5.0
fal-client~=0.4.1
fastapi~=0.112.1
faster-whisper~=1.0.3
google-generativeai~=0.7.2
grpcio-tools~=1.62.2
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
pip-tools~=7.4.1
pyaudio~=0.2.14
pydantic~=2.8.2
pyloudnorm~=0.1.1
pyht~=0.0.28
pyright~=1.1.376
pytest~=8.3.2
python-dotenv~=1.0.1
resampy~=0.4.3
setuptools~=72.2.0
setuptools_scm~=8.1.0
silero-vad~=5.1
together~=1.2.7
transformers~=4.44.0
websockets~=12.0

0 comments on commit 74005fb

Please sign in to comment.