diff --git a/.github/workflows/basic.yml b/.github/workflows/basic.yml index 52fff1857f..477f7dc682 100644 --- a/.github/workflows/basic.yml +++ b/.github/workflows/basic.yml @@ -106,7 +106,7 @@ jobs: - name: Run Test Coverage for youki run: | cargo llvm-cov clean --workspace - cargo llvm-cov --no-report + cargo llvm-cov --no-report -- --test-threads=1 cargo llvm-cov --no-run --lcov --output-path ./coverage.lcov - name: Upload Youki Code Coverage Results uses: codecov/codecov-action@v3 diff --git a/scripts/features_test.sh b/scripts/features_test.sh index 1b6b84a75e..bb00ad7c2f 100755 --- a/scripts/features_test.sh +++ b/scripts/features_test.sh @@ -23,7 +23,7 @@ test_package_features "libcgroups" "systemd cgroupsv2_devices" test_features() { echo "[feature test] testing features $1" "$CARGO_SH" build --no-default-features --features "$1" - "$CARGO_SH" test run --no-default-features --features "$1" + "$CARGO_SH" test run --test-threads=1 --no-default-features --features "$1" } test_features "v1" @@ -32,4 +32,4 @@ test_features "systemd" test_features "v2 cgroupsv2_devices" test_features "systemd cgroupsv2_devices" -exit 0 \ No newline at end of file +exit 0