diff --git a/.github/workflows/develop-deploy.yaml b/.github/workflows/develop-deploy.yaml index ced1326c4c..42ee72ffc5 100644 --- a/.github/workflows/develop-deploy.yaml +++ b/.github/workflows/develop-deploy.yaml @@ -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