mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-30 10:36:35 +02:00
14 lines
276 B
Bash
14 lines
276 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
echo "Running desktop integration tests..."
|
||
|
|
||
|
export CI=true
|
||
|
|
||
|
if test "$RUNNER_OS" = "Linux" ; then
|
||
|
# The Ubuntu Github CI doesn't have a display server.
|
||
|
# Start a virtual one with xvfb-run.
|
||
|
xvfb-run -- yarn run playwright test
|
||
|
else
|
||
|
yarn run playwright test
|
||
|
fi
|