From 7557f0756cce4eb9b47a885883ba4c8891171d8a Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Sun, 21 Nov 2021 21:02:39 +0000 Subject: [PATCH] make sure ulimit is increase for uring tests --- .github/workflows/ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d521a8af..2de060a78 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -85,10 +85,12 @@ jobs: - name: tests (io-uring) if: matrix.target.os == 'ubuntu-latest' - uses: actions-rs/cargo@v1 timeout-minutes: 60 - run: | - cargo test -p=actix-files --all-features + run: > + sudo bash -c "ulimit -Sl 512 + && ulimit -Hl 512 + && PATH=$PATH:/usr/share/rust/.cargo/bin + && RUSTUP_TOOLCHAIN=${{ matrix.version }} cargo test -p=actix-files --all-features" - name: Clear the cargo caches run: |