Skip to content

Commit 3e31fb1

Browse files
authored
Update Python venv setup in workflow
1 parent 7c39c7d commit 3e31fb1

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/playwright.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,11 @@ jobs:
9999
- name: Install backend dependencies
100100
run: |
101101
cd backend
102-
test -d .dev/venv || python3.11 -m venv .dev/venv
103-
.dev/venv/bin/pip install --upgrade pip
104-
find . -name 'requirements.txt' -exec .dev/venv/bin/pip install -r {} \;
102+
python3.11 -m venv .dev/venv
103+
source .dev/venv/bin/activate
104+
pip install --upgrade pip
105+
find . -name 'requirements.txt' -exec pip install -r {} \;
106+
105107
- name: Download and install ifcopenshell
106108
run: |
107109
wget -O /tmp/ifcopenshell_python.zip "https://s3.amazonaws.com/ifcopenshell-builds/ifcopenshell-python-311-v0.8.4-6924012-linux64.zip"
@@ -185,4 +187,4 @@ jobs:
185187
with:
186188
name: playwright-report
187189
path: e2e/test-results/
188-
retention-days: 7
190+
retention-days: 7

0 commit comments

Comments
 (0)