Skip to content

Commit

Permalink
Fix MyPY. Reduce fuzz coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
babenek committed Oct 26, 2022
1 parent 74fa40e commit 1e2c317
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/fuzz.yml
Expand Up @@ -78,8 +78,9 @@ jobs:
run: |
COVERAGE=$(tail -1 report.txt | awk '{print $6}' | tr --delete '%')
# additionally check correctness of the value - should be an integer
if ! [ 75 -le ${COVERAGE} ]; then
echo "Fuzzing coverage '${COVERAGE}' does not satisfy the limit 74%"
FUZZ_COVERAGE_LIMIT=70
if ! [ ${FUZZ_COVERAGE_LIMIT} -le ${COVERAGE} ]; then
echo "Fuzzing coverage '${COVERAGE}' does not satisfy the limit ${FUZZ_COVERAGE_LIMIT}%"
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion cicd/mypy_warnings.txt
@@ -1 +1 @@
Success: no issues found in 83 source files
Success: no issues found in 84 source files

0 comments on commit 1e2c317

Please sign in to comment.