Skip to content

Commit

Permalink
fix: execstack
Browse files Browse the repository at this point in the history
  • Loading branch information
chidiwilliams committed Jan 5, 2024
1 parent 2a5d1ca commit fd1fae3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,3 @@ omit =

[html]
directory = coverage/html

[report]
fail_under = 75
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,12 @@ clean:
rm -f buzz/whisper_cpp.py
rm -rf dist/* || true

COVERAGE_THRESHOLD := 75
ifeq ($(UNAME_S),Linux)
COVERAGE_THRESHOLD := 70

test: buzz/whisper_cpp.py translation_mo
pytest -vv --cov=buzz --cov-report=xml --cov-report=html --benchmark-skip
pytest -vv --cov=buzz --cov-report=xml --cov-report=html --benchmark-skip --cov-fail-under=${COVERAGE_THRESHOLD}

benchmarks: buzz/whisper_cpp.py translation_mo
pytest -vv --benchmark-only --benchmark-json benchmarks.json
Expand Down

0 comments on commit fd1fae3

Please sign in to comment.