Activated venv on each step

This commit is contained in:
Elijah 2024-01-12 10:25:00 +01:00
parent af600ebdcf
commit 1747f0ed91

View file

@ -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