mirror of
https://github.com/containers/youki
synced 2024-11-23 01:11:58 +01:00
Add test-threads=1 to coverage CI and feature-test
This commit is contained in:
parent
0c068b806d
commit
9097a56b05
2
.github/workflows/basic.yml
vendored
2
.github/workflows/basic.yml
vendored
@ -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
|
||||
|
@ -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 --no-default-features --features "$1" -- --test-threads=1
|
||||
}
|
||||
|
||||
test_features "v1"
|
||||
@ -32,4 +32,4 @@ test_features "systemd"
|
||||
test_features "v2 cgroupsv2_devices"
|
||||
test_features "systemd cgroupsv2_devices"
|
||||
|
||||
exit 0
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user