Skip to content

Commit 3f351b0

Browse files
authored
ok, gh-actions doesn't like fonts on osx
1 parent 539f811 commit 3f351b0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/runtests.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,11 @@ fontpaths = FreeTypeAbstraction.fontpaths()
175175

176176
isempty(fontpaths) && println("OS doesn't have any font folder")
177177

178-
if Sys.islinux() || Sys.isapple()
178+
if Sys.islinux()
179179
fonts = ["dejavu sans"]
180+
# apple on gh-actions doesn't seem to have any fonts...
181+
elseif Sys.isapple()
182+
fonts = []
180183
else # windows have some more fonts installed per default
181184
fonts = [
182185
"Times New Roman",

0 commit comments

Comments
 (0)