mirror of https://github.com/fafhrd91/actix-web
make sure ulimit is increase for uring tests
This commit is contained in:
parent
0cd921b758
commit
7557f0756c
|
@ -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: |
|
||||
|
|
Loading…
Reference in New Issue