mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
make: tweak coverage rule for CI
Don't exclude `nocov` tests, since on master, only one run with coverage is used.
This commit is contained in:
committed by
Frans de Jonge
parent
e10017042e
commit
7188ce3bb1
@@ -47,7 +47,7 @@ coverage: coverage-summary
|
||||
coverage-run: all test-data $(INSTALL_DIR)/koreader/.luacov
|
||||
rm -f $(addprefix $(INSTALL_DIR)/koreader/,$(COVERAGE_STATS) $(COVERAGE_REPORT))
|
||||
# Run tests.
|
||||
$(RUNTESTS) $(INSTALL_DIR)/koreader front --coverage --tags=!nocov $T
|
||||
$(RUNTESTS) $(INSTALL_DIR)/koreader front --coverage $(if $(filter undefined,$(flavor T)),--tags=!nocov,$T)
|
||||
# Aggregate statistics.
|
||||
cd $(INSTALL_DIR)/koreader && \
|
||||
eval "$$($(LUAROCKS_BINARY) path)" && \
|
||||
|
||||
Reference in New Issue
Block a user