From 77cf20e9dd0143113cf8217a5506912fc45bff8c Mon Sep 17 00:00:00 2001 From: Kshitij Raj Sharma <36752999+kshitijrajsharma@users.noreply.github.com> Date: Wed, 30 Aug 2023 08:52:21 +0545 Subject: [PATCH 1/3] Build backend branch --- .github/workflows/backend_build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/backend_build.yml b/.github/workflows/backend_build.yml index ff506399..688b34ea 100644 --- a/.github/workflows/backend_build.yml +++ b/.github/workflows/backend_build.yml @@ -3,6 +3,7 @@ on: push: branches: - master + - fix/build pull_request: branches: - master From 83b198e29de53662a6d813d32abbb7169f74073d Mon Sep 17 00:00:00 2001 From: Kshitij Raj Sharma <36752999+kshitijrajsharma@users.noreply.github.com> Date: Wed, 30 Aug 2023 08:54:21 +0545 Subject: [PATCH 2/3] check opencv version --- .github/workflows/backend_build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/backend_build.yml b/.github/workflows/backend_build.yml index 688b34ea..744481f9 100644 --- a/.github/workflows/backend_build.yml +++ b/.github/workflows/backend_build.yml @@ -105,11 +105,16 @@ jobs: pip install numpy pip install GDAL==$(gdal-config --version) --global-option=build_ext --global-option="-I/usr/include/gdal" + - name : Check Opencv version + run: | + pip freeze | grep opencv + - name: Run tests env: TESTING_TOKEN: ${{ secrets.TESTING_TOKEN }} run: | cd backend/ + export TESTING_TOKEN=$TESTING_TOKEN python manage.py makemigrations From b9293e62c9b16448bc62d6e9094796479733a5c7 Mon Sep 17 00:00:00 2001 From: Kshitij Raj Sharma <36752999+kshitijrajsharma@users.noreply.github.com> Date: Wed, 30 Aug 2023 09:06:06 +0545 Subject: [PATCH 3/3] install opencv python headless --- .github/workflows/backend_build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/backend_build.yml b/.github/workflows/backend_build.yml index 744481f9..785fc586 100644 --- a/.github/workflows/backend_build.yml +++ b/.github/workflows/backend_build.yml @@ -108,6 +108,7 @@ jobs: - name : Check Opencv version run: | pip freeze | grep opencv + pip install opencv-python-headless==4.7.0.68 - name: Run tests env: