veloren/.gitlab/scripts/coverage.sh

8 lines
428 B
Bash
Raw Normal View History

#!/bin/bash
echo "modifying files in 5s, ctrl+c to abort" && sleep 5
2021-07-18 16:52:08 +00:00
rm -r target/tarpaulin/incremental/veloren_* || echo "all good" # TMP FIX FOR 2021-03-22-nightly
find ./* -name "Cargo.toml" -exec sed -i 's/, "simd"]/]/g' {} \;
find ./* -name "Cargo.toml" -exec sed -i 's/"simd"]/]/g' {} \;
sed -i 's/vek /#vek /g' ./Cargo.toml;
export VELOREN_ASSETS="$(pwd)/assets";
time cargo tarpaulin --skip-clean -v -- --test-threads=2;