Skip to content

Commit

Permalink
Increase swap size for code coverage to support khashv2
Browse files Browse the repository at this point in the history
  • Loading branch information
lemois-1337 committed Aug 28, 2024
1 parent f2d4fb4 commit 29726b7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,14 @@ jobs:
runs-on: ubuntu-latest
name: Produce code coverage
steps:

# Increase the swap size on Linux to aviod running out of memory
- name: Increase swap size on Linux
if: runner.os == 'Linux'
uses: thejerrybao/setup-swap-space@v1
with:
swap-size-gb: 12

- name: Check out code into the Go module directory
uses: actions/checkout@v4

Expand Down

0 comments on commit 29726b7

Please sign in to comment.