Skip to content

Commit e4cf325

Browse files
committed
fix
1 parent 9c02d0b commit e4cf325

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/test.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,8 @@ jobs:
9191
9292
# Workaround for https://github.com/nim-lang/nimble/issues/1384
9393
# Related: https://github.com/fox0430/moe/pull/2300
94-
echo "NOT_SKIP_TESTS=y" >> "$GITHUB_ENV"
95-
echo "$NOT_SKIP_TESTS"
9694
nimble setup
97-
nim c -r tests/tclipboard.nim
98-
nim c -r tests/tquickrun.nim
99-
nim c -r tests/tregisters.nim
95+
export "NOT_SKIP_TESTS=y"
96+
xvfb-run env XDG_SESSION_TYPE=x11 nim c -r tests/tclipboard.nim
97+
xvfb-run env XDG_SESSION_TYPE=x11 nim c -r tests/tquickrun.nim
98+
xvfb-run env XDG_SESSION_TYPE=x11 nim c -r tests/tregisters.nim

0 commit comments

Comments
 (0)