File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed
Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 99jobs :
1010 tests :
1111 name : Tests
12- runs-on : ubuntu-latest
12+ # Increase machine size by requesting a larger GitHub-hosted runner
13+ # Options: ubuntu-latest, ubuntu-22.04, ubuntu-20.04, or larger runners below
14+ # For more vCPUs and RAM, use ubuntu-latest with 'large' runner
15+ # GitHub hosted runners docs: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
16+ # 'ubuntu-latest' = 2 vCPU, 7 GB RAM; 'ubuntu-latest-8-cores' = 8 vCPU, 32 GB RAM
17+ runs-on : ubuntu-latest-8-cores
18+
1319 steps :
1420 - name : Checkout repository
1521 uses : actions/checkout@v4
1622
1723 - name : Set up Docker Buildx
1824 uses : docker/setup-buildx-action@v3
1925
26+ - name : Enable hugepages
27+ run : |
28+ sudo mkdir -p /mnt/hugepages
29+ sudo mount -t hugetlbfs none /mnt/hugepages
30+ echo 1024 | sudo tee /proc/sys/vm/nr_hugepages
31+
2032 - name : Run tests with devtool
2133 env :
22- PYTEST_ADDOPTS : " -n 2 "
34+ PYTEST_ADDOPTS : " -n 4 "
2335 run : |
2436 ./tools/devtool -y test -- integration_tests/functional/ -k "not vmlinux-5.10"
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export PYTEST_ADDOPTS="${PYTEST_ADDOPTS:-} --pdbcls=IPython.terminal.debugger:Te
4747
4848# if the tests failed and we are running in CI, print some disk usage stats
4949# to help troubleshooting
50- if [ $ret != 0 ] && [ " $BUILDKITE " == " true" ]; then
50+ if [ $ret != 0 ] && [ " ${ BUILDKITE:- false} " == " true" ]; then
5151 df -ih
5252 df -h
5353 du -h / 2> /dev/null | sort -h | tail -32
You can’t perform that action at this time.
0 commit comments