🔨 Rework and refactor development scripts

This commit is contained in:
2023-04-21 15:05:48 +02:00
parent a7caa876c4
commit 2ca7ccde4a
6 changed files with 70 additions and 26 deletions
Executable
+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
# Runs unit tests.
# If successful, prints only the coverage percentage.
# If an error occurs, prints the entire unit tests progress output.
source "$(dirname $(realpath $0))/util.sh"
coverage erase
run_and_capture coverage run
coverage report | awk '$1 == "TOTAL" {print $NF; exit}'