Skip to content

Commit

Permalink
Increase swap file size for doc deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Uri Granta committed May 28, 2024
1 parent 391c1f0 commit 55acb43
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/develop-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,16 @@ jobs:
- uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: increase swap size
shell: bash
run: |
export SWAP_FILE=$(swapon --show=NAME | tail -n 1)
sudo swapoff $SWAP_FILE
sudo rm $SWAP_FILE
sudo fallocate -l 8192M $SWAP_FILE
sudo chmod 600 $SWAP_FILE
sudo mkswap $SWAP_FILE
sudo swapon $SWAP_FILE
- run: |
pip install --upgrade pip
pip install .[qhsri] -r notebooks/requirements.txt -c notebooks/constraints.txt
Expand Down

0 comments on commit 55acb43

Please sign in to comment.