Skip to content

Commit

Permalink
Fix Redis memory overcommit warning in the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Nusnus committed Sep 17, 2024
1 parent 06170dc commit 12aeeca
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ jobs:
- name: Install apt packages
run: |
sudo apt update
sudo apt-get install -y procps # Install procps to enable sysctl
sudo sysctl -w vm.overcommit_memory=1
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: useblacksmith/setup-python@v6
Expand Down Expand Up @@ -75,6 +77,8 @@ jobs:
- name: Install apt packages
run: |
sudo apt update
sudo apt-get install -y procps # Install procps to enable sysctl
sudo sysctl -w vm.overcommit_memory=1
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: useblacksmith/setup-python@v6
Expand Down Expand Up @@ -107,6 +111,8 @@ jobs:
- name: Install apt packages
run: |
sudo apt update
sudo apt-get install -y procps # Install procps to enable sysctl
sudo sysctl -w vm.overcommit_memory=1
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: useblacksmith/setup-python@v6
Expand Down Expand Up @@ -139,6 +145,8 @@ jobs:
- name: Install apt packages
run: |
sudo apt update
sudo apt-get install -y procps # Install procps to enable sysctl
sudo sysctl -w vm.overcommit_memory=1
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: useblacksmith/setup-python@v6
Expand Down Expand Up @@ -171,6 +179,8 @@ jobs:
- name: Install apt packages
run: |
sudo apt update
sudo apt-get install -y procps # Install procps to enable sysctl
sudo sysctl -w vm.overcommit_memory=1
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: useblacksmith/setup-python@v6
Expand Down Expand Up @@ -209,6 +219,8 @@ jobs:
- name: Install apt packages
run: |
sudo apt update
sudo apt-get install -y procps # Install procps to enable sysctl
sudo sysctl -w vm.overcommit_memory=1
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: useblacksmith/setup-python@v6
Expand Down Expand Up @@ -241,6 +253,8 @@ jobs:
- name: Install apt packages
run: |
sudo apt update
sudo apt-get install -y procps # Install procps to enable sysctl
sudo sysctl -w vm.overcommit_memory=1
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: useblacksmith/setup-python@v6
Expand Down Expand Up @@ -273,6 +287,8 @@ jobs:
- name: Install apt packages
run: |
sudo apt update
sudo apt-get install -y procps # Install procps to enable sysctl
sudo sysctl -w vm.overcommit_memory=1
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: useblacksmith/setup-python@v6
Expand Down Expand Up @@ -305,6 +321,8 @@ jobs:
- name: Install apt packages
run: |
sudo apt update
sudo apt-get install -y procps # Install procps to enable sysctl
sudo sysctl -w vm.overcommit_memory=1
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: useblacksmith/setup-python@v6
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/parallel-support.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ jobs:
- name: Install apt packages
run: |
sudo apt update
sudo apt-get install -y procps # Install procps to enable sysctl
sudo sysctl -w vm.overcommit_memory=1
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: useblacksmith/setup-python@v6
Expand Down Expand Up @@ -89,6 +91,8 @@ jobs:
- name: Install apt packages
run: |
sudo apt update
sudo apt-get install -y procps # Install procps to enable sysctl
sudo sysctl -w vm.overcommit_memory=1
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: useblacksmith/setup-python@v6
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ jobs:
- name: Install apt packages
run: |
sudo apt update
sudo apt-get install -y procps # Install procps to enable sysctl
sudo sysctl -w vm.overcommit_memory=1
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: useblacksmith/setup-python@v6
Expand Down Expand Up @@ -99,6 +101,8 @@ jobs:
- name: Install apt packages
run: |
sudo apt update
sudo apt-get install -y procps # Install procps to enable sysctl
sudo sysctl -w vm.overcommit_memory=1
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: useblacksmith/setup-python@v6
Expand Down Expand Up @@ -142,6 +146,8 @@ jobs:
- name: Install apt packages
run: |
sudo apt update
sudo apt-get install -y procps # Install procps to enable sysctl
sudo sysctl -w vm.overcommit_memory=1
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: useblacksmith/setup-python@v6
Expand Down

0 comments on commit 12aeeca

Please sign in to comment.