From 1a263f66aca30d6c77cb4522bfc78425c6d8ff18 Mon Sep 17 00:00:00 2001 From: servostar Date: Fri, 27 Sep 2024 17:47:08 +0200 Subject: [PATCH] chore: added font directory to ci --- run-ci.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/run-ci.sh b/run-ci.sh index 3afcba3..a25ddb3 100755 --- a/run-ci.sh +++ b/run-ci.sh @@ -44,10 +44,10 @@ function enter-section() { } enter-section "Typstyle checking" "./run-fmt.sh --check src/lib.typ" 0 -enter-section "Compiling template..." "typst compile template/main.typ --root . example.pdf" -enter-section "TEST: local template import" "typst compile tests/local-import/main.typ --root ." -enter-section "TEST: invalid config case 1" "typst compile tests/invalid-config/test-case-1.typ --root ." "should fail" -enter-section "TEST: invalid config case 2" "typst compile tests/invalid-config/test-case-2.typ --root ." -enter-section "TEST: invalid config case 3" "typst compile tests/invalid-config/test-case-3.typ --root ." "should fail" +enter-section "Compiling template..." "typst compile template/main.typ --root . --font-path fonts example.pdf" +enter-section "TEST: local template import" "typst compile tests/local-import/main.typ --root . --font-path fonts" +enter-section "TEST: invalid config case 1" "typst compile tests/invalid-config/test-case-1.typ --root . --font-path fonts" "should fail" +enter-section "TEST: invalid config case 2" "typst compile tests/invalid-config/test-case-2.typ --root . --font-path fonts" +enter-section "TEST: invalid config case 3" "typst compile tests/invalid-config/test-case-3.typ --root . --font-path fonts" "should fail" log "INFO" "CI completed successfully"