From f2ccbec50c901a8c4c5e3657f96c0e94f2bcd28a Mon Sep 17 00:00:00 2001 From: David Gnedt Date: Sat, 31 Jul 2021 01:13:54 +0200 Subject: [PATCH] Temporarily reduce maximum number of open file descriptors to 4096 while running tests in CI pipeline --- .github/workflows/ci-python3.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-python3.yml b/.github/workflows/ci-python3.yml index d437ce6..a9979ef 100644 --- a/.github/workflows/ci-python3.yml +++ b/.github/workflows/ci-python3.yml @@ -48,10 +48,16 @@ jobs: run: python -bb test/test.py --unit --exit-early - name: Run integration tests (internal) - run: python -bb test/test.py -i --exit-early + run: | + ulimit -n + ulimit -n 4096 + python -bb test/test.py -i --exit-early - name: Run integration tests (external process) - run: test/test.py -e --exit-early + run: | + ulimit -n + ulimit -n 4096 + test/test.py -e --exit-early - name: Check package quality run: pyroma -n 9 .