cognitive-engineering-lab / rust-book

The Rust Programming Language: Experimental Edition
https://rust-book.cs.brown.edu
Other
509 stars 83 forks source link

Run jest serially to avoid CI timeout #7

Closed connorff closed 1 year ago

connorff commented 1 year ago

The jest-puppeteer tests have been flaky recently due to timeouts waiting for the rust-book server starting. It looks like this can be caused by the environment not allocating enough threads to run puppeteer and the server in parallel. Using this new jest command will force the tests to run in a single thread.