From 85cd06ed711496b7b84bdf931b571e511ab37716 Mon Sep 17 00:00:00 2001 From: Emmanuel Nwanochie Date: Sat, 20 Jul 2024 14:59:38 +0100 Subject: [PATCH] test run main.py --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 224dbc779..0eeba177e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,14 @@ jobs: run: cp .env.sample .env - name: Run app - run: python3 main.py + run: | + python3 main.py + if [ $? -eq 0 ]; then + echo "main.py started successfully" + else + echo "main.py failed to start" + exit 1 + fi # - name: Run migrations # run: |