mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-22 20:42:24 +00:00
Precommit
This commit is contained in:
parent
6daf23a22b
commit
901cfcd647
1 changed files with 1 additions and 1 deletions
2
.github/workflows/unit-tests.yml
vendored
2
.github/workflows/unit-tests.yml
vendored
|
|
@ -53,7 +53,7 @@ jobs:
|
|||
run: |
|
||||
coverage=$(uv run --python ${{ matrix.python }} --group unit coverage report -m | tail -1 | tail -c 4 | head -c 2)
|
||||
echo "Total coverage: ${coverage}%"
|
||||
|
||||
|
||||
# Check if coverage is below the threshold
|
||||
if (( ${coverage} < 40 )); then
|
||||
echo "Coverage failed at ${coverage}%, expected at least 40%"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue