Prebuild release 1.0 #2

Merged
IgorVolochay merged 48 commits from frontend into prebuild 2026-08-13 09:04:08 +00:00
2 changed files with 7 additions and 8 deletions
Showing only changes of commit b58ed47247 - Show all commits
+6 -7
View File
@@ -13,7 +13,6 @@ on:
- main
jobs:
mypy:
runs-on: ubuntu-latest
@@ -38,6 +37,11 @@ jobs:
pytest:
runs-on: ubuntu-latest
env:
MONGO_HOST: ${{ secrets.MONGO_HOST }}
MONGO_PORT: ${{ secrets.MONGO_PORT }}
MONGO_USER: ${{ secrets.MONGO_USER }}
MONGO_PASS: ${{ secrets.MONGO_PASS }}
steps:
- name: Checkout
uses: actions/checkout@v3
@@ -49,12 +53,7 @@ jobs:
architecture: x64
- name: Setup MongoDB
env:
MONGO_HOST: ${{ env.MONGO_HOST }}
MONGO_PORT: ${{ env.MONGO_PORT }}
MONGO_USER: ${{ env.MONGO_USER }}
MONGO_PASS: ${{ env.MONGO_PASS }}
run: docker run --name mongodb -d -p $MONGO_PORT:27017 -e MONGO_INITDB_ROOT_USERNAME=$MONGO_USER -e MONGO_INITDB_ROOT_PASSWORD=$MONGO_PASS mongodb/mongodb-community-server
run: docker run --name mongodb -d -p ${{ secrets.MONGO_PORT }}:27017 -e MONGO_INITDB_ROOT_USERNAME=${{ secrets.MONGO_USER }} -e MONGO_INITDB_ROOT_PASSWORD=${{ secrets.MONGO_PASS }} mongodb/mongodb-community-server
- name: Install dependencies
run: |
+1 -1
View File
@@ -183,7 +183,7 @@ async def comment(comment_info: AddCommentBody,
async def main():
config = uvicorn.Config("main:app", port=5000, log_level="debug",)
config = uvicorn.Config("main:app", port=5000, log_level="debug")
server = uvicorn.Server(config)
await server.serve()