From 2bb5ec9967bfca5195648b6ae182d335aee7676d Mon Sep 17 00:00:00 2001 From: lamya1baidouri Date: Mon, 3 Feb 2025 10:00:47 +0100 Subject: [PATCH] resolve install problem --- .github/workflows/pipeline.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 2e3cf0a53..4bacd5c63 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -24,6 +24,11 @@ jobs: sudo apt update sudo apt install -y python3-dev libffi-dev libssl-dev python3-yaml + - name: Install Cython and PyYAML (Fix build) + run: | + pip install --no-cache-dir cython # Fixes "cython_sources" error + pip install --no-cache-dir "pyyaml==5.4.1" # Force compatible pre-built version + - name: Install Docker Compose run: | pip install --no-cache-dir docker-compose @@ -35,14 +40,14 @@ jobs: - name: Run tests run: | echo "Running tests..." - # Ajouter ici les commandes pour exécuter les tests + # Add test commands here - name: Deploy application run: | echo "Deploying application..." - # Ajouter ici les commandes de déploiement + # Add deployment commands here - name: Monitoring setup run: | echo "Setting up monitoring..." - # Ajouter ici les outils de monitoring (ex: Prometheus, Grafana) + # Add monitoring tools here (e.g., Prometheus, Grafana)