mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-18 09:35:20 +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
|