Skip to content

Commit

Permalink
Merge pull request #13 from szymonlopaciuk/use-dynamic-swapping
Browse files Browse the repository at this point in the history
Set up dynamic swapping on GH runner
  • Loading branch information
szymonlopaciuk authored Oct 10, 2023
2 parents 63cc31f + 2342813 commit 45d460c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/test_gh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,12 @@ jobs:

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Increase swapfile
- name: Set up dynamic swapping
run: |
sudo swapoff -a
sudo fallocate -l 12G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo swapon --show
sudo apt-get install -y swapspace
sudo systemctl start swapspace.service
df -h
- name: Setup Miniforge
uses: conda-incubator/setup-miniconda@v2
with:
Expand Down

0 comments on commit 45d460c

Please sign in to comment.