veloren/.gitlab/scripts/coverage.sh

5 lines
249 B
Bash
Raw Normal View History

#!/bin/bash
echo "modifying files in 5s, ctrl+c to abort" && sleep 5
2022-08-19 16:45:22 +00:00
find ./* -name "Cargo.toml" -exec sed -i -E 's/, *"simd"|"simd" *,|"simd"//g' {} \;
export VELOREN_ASSETS="$(pwd)/assets";
2022-08-19 16:45:22 +00:00
time cargo tarpaulin --skip-clean -v -- --test-threads=2;