From d94c41d30162066ea9ca8e62160278989bcda189 Mon Sep 17 00:00:00 2001 From: dante <45801863+alexander-camuto@users.noreply.github.com> Date: Tue, 10 Jun 2025 21:11:49 +0100 Subject: [PATCH] Update rust.yml --- .github/workflows/rust.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 93b4324c..abdbf1df 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -410,7 +410,22 @@ jobs: run: rustup component add rust-src --toolchain nightly-2025-02-17-x86_64-unknown-linux-gnu - name: Create webdriver.json to disable timeouts run: | - echo '{ "goog:chromeOptions": { "args": [ "disable-timeouts-for-profiling" ] } }' > webdriver.json + cat > webdriver.json << 'EOF' + { + "goog:chromeOptions": { + "args": [ + "--disable-timeouts-for-profiling", + "--disable-dev-shm-usage", + "--no-sandbox" + ] + }, + "timeouts": { + "implicit": 0, + "pageLoad": 300000, + "script": 300000 + } + } + EOF - name: Run wasm verifier tests # on mac: # AR=/opt/homebrew/opt/llvm/bin/llvm-ar CC=/opt/homebrew/opt/llvm/bin/clang wasm-pack test --firefox --headless -- -Z build-std="panic_abort,std" --features web