From 1747f0ed910df2e36c3822e08a93c31d2e43e0e5 Mon Sep 17 00:00:00 2001 From: Elijah Date: Fri, 12 Jan 2024 10:25:00 +0100 Subject: [PATCH] Activated venv on each step --- .gitea/workflows/ci-pipeline.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/ci-pipeline.yaml b/.gitea/workflows/ci-pipeline.yaml index 6e1dc64..f89eec5 100644 --- a/.gitea/workflows/ci-pipeline.yaml +++ b/.gitea/workflows/ci-pipeline.yaml @@ -29,11 +29,13 @@ jobs: run: | python3 -m venv venv source venv/bin/activate + echo "Virtual environment created successfully" # https://docs.github.com/en/actions/learn-github-actions/contexts#steps-context if: steps.install.outcome == 'success' - name: Install dependencies run: | + source venv/bin/activate pip install --upgrade pip pip install -r requirements.txt