Skip to content

Commit

Permalink
try fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
BowenXiao1999 committed Dec 14, 2022
1 parent 1c799b5 commit e5d59d0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ci/scripts/run-unit-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@ set -euo pipefail
echo "+++ Run unit tests with coverage"
# use tee to disable progress bar
NEXTEST_PROFILE=ci cargo llvm-cov nextest --lcov --output-path lcov.info --features failpoints,sync_point 2> >(tee);

echo "+++ Run the loom unit test"
NEXTEST_PROFILE=ci RUSTFLAGS="--cfg loom" cargo nextest run --test loom

if [[ "$RUN_SQLSMITH" -eq "1" ]]; then
NEXTEST_PROFILE=ci cargo nextest run run_sqlsmith_on_frontend --features "failpoints sync_point enable_sqlsmith_unit_test" 2> >(tee);
fi

echo "--- Codecov upload coverage reports"
curl -Os https://uploader.codecov.io/latest/linux/codecov && chmod +x codecov
./codecov -t "$CODECOV_TOKEN" -s . -F rust

echo "+++ Run the loom unit test"
cd src/utils/task_local_alloc && NEXTEST_PROFILE=ci RUSTFLAGS="--cfg loom" cargo nextest run --test loom

0 comments on commit e5d59d0

Please sign in to comment.