Add/update dev scripts and Github workflow

This commit is contained in:
2023-06-24 17:10:24 +02:00
parent f5b31b7580
commit 21eb0c065d
7 changed files with 106 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}'