From 0d7d903efe9f4bf243a21e622937647c6b905cfe Mon Sep 17 00:00:00 2001 From: proffapt Date: Tue, 11 Feb 2025 15:43:51 +0530 Subject: [PATCH] fix(ci): using venv to ensure not library conflicts --- .github/workflows/cli-ci-test.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cli-ci-test.yaml b/.github/workflows/cli-ci-test.yaml index b9aaed3..fc55f32 100644 --- a/.github/workflows/cli-ci-test.yaml +++ b/.github/workflows/cli-ci-test.yaml @@ -36,8 +36,12 @@ jobs: with: python-version: '3.13' + - name: Create virual env + run: python -m venv venv + - name: Install dependencies run: | + source venv/bin/activate python -m pip install --upgrade pip pip install -r requirements.txt @@ -52,4 +56,7 @@ jobs: echo "$CREDENTIALS_JSON" > credentials.json - name: Run the project - run: python gyft.py -DO + run: | + source venv/bin/activate + python gyft.py -DO +