Skip to content

Commit

Permalink
Update build_deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rw-bsi authored Sep 10, 2024
1 parent d06d88c commit 87e87d7
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,16 @@ jobs:
source venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
- name: Install ifcopenshell package (temp)
run: |
cd backend
source venv/bin/activate
# use version of ifcopenshell with desired schema parsing
# TODO: revert to pyPI when schema parsing is published in the future
wget -O /tmp/ifcopenshell_python.zip "https://s3.amazonaws.com/ifcopenshell-builds/ifcopenshell-python-311-v0.7.9-c18e4ea-linux64.zip"
mkdir -p $(VIRTUAL_ENV)/lib/python3.11/site-packages
unzip -f -d $(VIRTUAL_ENV)/lib/python3.11/site-packages /tmp/ifcopenshell_python.zip
rm /tmp/ifcopenshell_python.zip
mkdir -p /opt/venv/lib/python3.11/site-packages
unzip -d /opt/venv/lib/python3.11/site-packages /tmp/ifcopenshell_python.zip
- name: Check Django config
run: |
Expand Down

0 comments on commit 87e87d7

Please sign in to comment.