fix: add cypress tests to CI [skip ci]

This commit is contained in:
Jayden Pyles
2025-05-10 11:29:20 -05:00
parent ee8047ac78
commit e8d80c1a77
2 changed files with 6 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ runs:
- name: Setup Docker project
shell: bash
run: docker compose up -d
run: make build up-dev
- name: Install dependencies
shell: bash

View File

@@ -8,6 +8,8 @@ import logging
import sys
import traceback
from api.backend.database.startup import init_database
logging.basicConfig(stream=sys.stdout, level=logging.INFO)
LOG = logging.getLogger(__name__)
@@ -41,6 +43,9 @@ async def process_job():
async def main():
LOG.info("Starting job worker...")
init_database()
while True:
await process_job()
await asyncio.sleep(5)