Fix Zotero.automatedTest in GitHub Actions

$TRAVIS → $CI

Some tests were being run that should be skipped
This commit is contained in:
Dan Stillman 2021-03-21 17:39:40 -04:00
parent c0eea4dadd
commit 8f7afb4a57

View file

@ -185,7 +185,7 @@ if [ -z $IS_CYGWIN ]; then
echo "`MOZ_NO_REMOTE=1 NO_EM_RESTART=1 \"$FX_EXECUTABLE\" -v`"
fi
if [ "$TRAVIS" = true ]; then
if [ -n "$CI" ]; then
FX_ARGS="$FX_ARGS -ZoteroAutomatedTest -ZoteroTestTimeout 15000"
fi
@ -194,7 +194,7 @@ trap "{ rm -rf \"$TEMPDIR\"; }" EXIT
# Check if build watch process is running
# If not, run now
if [[ "$TRAVIS" != true ]] && ! ps | grep scripts/build.js | grep -v grep > /dev/null; then
if [[ -z "$CI" ]] && ! ps | grep scripts/build.js | grep -v grep > /dev/null; then
echo
echo "Running JS build process"
cd "$ROOT_DIR"