Activated venv on each step
This commit is contained in:
parent
af600ebdcf
commit
1747f0ed91
|
@ -29,11 +29,13 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
python3 -m venv venv
|
python3 -m venv venv
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
|
echo "Virtual environment created successfully"
|
||||||
# https://docs.github.com/en/actions/learn-github-actions/contexts#steps-context
|
# https://docs.github.com/en/actions/learn-github-actions/contexts#steps-context
|
||||||
if: steps.install.outcome == 'success'
|
if: steps.install.outcome == 'success'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
source venv/bin/activate
|
||||||
pip install --upgrade pip
|
pip install --upgrade pip
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue