mirror of
https://github.com/NovaOSS/nova-api.git
synced 2024-11-25 23:23:57 +01:00
Compare commits
No commits in common. "9a130049b325f5262d2f8a12081d20351f895eaf" and "bc94d7fb2f97fd2505e18de5cd3800498662fcc8" have entirely different histories.
9a130049b3
...
bc94d7fb2f
31
.github/workflows/main.yml
vendored
31
.github/workflows/main.yml
vendored
|
@ -1,32 +1 @@
|
||||||
|
|
||||||
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
|
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
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
|
|
Loading…
Reference in a new issue