Compare commits

...

2 commits

Author SHA1 Message Date
Game_Time 9a130049b3
Add files via upload 2023-08-13 06:18:49 +05:00
Game_Time d3aba962cc
create the workflow 2023-08-13 06:09:47 +05:00
2 changed files with 49 additions and 0 deletions

View file

@ -1 +1,32 @@
name: Python Tests
on: [pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Start API server
run: |
python run
- name: Wait for API server to start
run: sleep 10 # We can adjust this sleep duration as needed. idk how long the server takes to start
- name: Run tests
run: python tests

18
requirements.txt Normal file
View file

@ -0,0 +1,18 @@
aiohttp==3.8.5
aiohttp_socks==0.8.0
dhooks==1.1.4
fastapi==0.101.0
httpx==0.24.1
motor==3.2.0
openai==0.27.8
providers==0.0.2
pydantic==2.1.1
pymongo==4.4.1
python-dotenv==1.0.0
python_socks==2.3.0
pytz==2023.3
PyYAML==6.0.1
rich==13.5.2
setuptools==49.2.1
starlette==0.31.0
tiktoken==0.4.0