dhbw-abb-typst-template/run-ci.sh

16 lines
265 B
Bash
Executable File

#!/bin/bash
set -e
function abort() {
echo "test case `$1` has failed" 1>&2
exit 1
}
echo "Running tests..."
echo "Running test local-import..."
typst compile tests/local-import/main.typ --root . || abort "local-import"
echo "Tests completed successfully"