From 7fbb724e7baf997586a7bdae99c71361e7a1dd12 Mon Sep 17 00:00:00 2001 From: Komal2008 Date: Fri, 10 Jul 2026 22:42:00 +0530 Subject: [PATCH 1/2] ci: add basic GitHub Actions workflow --- .github/workflows/ci.yml | 42 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..e1c228f --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,42 @@ +name: ClaimVision AI CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + build: + runs-on: ubuntu-latest + + defaults: + run: + working-directory: code + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Setup Python + uses: actions/setup-python@v5 + with: + python-version: "3.11" + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + + - name: Check syntax + run: python -m py_compile app.py + + - name: Verify imports + run: | + python -c "import streamlit" + python -c "import cv2" + python -c "import pandas" + python -c "import numpy" + + - name: CI Passed + run: echo "✅ ClaimVision AI basic checks passed!" \ No newline at end of file From ab98585a4e45481925e3b8380551e84f38582f4d Mon Sep 17 00:00:00 2001 From: Komal2008 Date: Fri, 10 Jul 2026 23:00:04 +0530 Subject: [PATCH 2/2] fix: add opencv-python dependency --- code/requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/code/requirements.txt b/code/requirements.txt index 36c06bd..18ab71a 100644 --- a/code/requirements.txt +++ b/code/requirements.txt @@ -9,3 +9,4 @@ streamlit plotly joblib shap +opencv-python