Krinkle added a subscriber: Krinkle.
Krinkle added a comment.

This job creates LocalSettings.php (mw-apply-settings.sh), and runs 
install.php, and update.php (mw-run-update-script.sh) without problems. That 
means `MW_INSTALL_PATH` is definitely set correctly.

The problem is that the mwext-WikibaseQualityConstraints-repo-tests-sqlite-hhvm 
job then has a separate shell execution step (which gets a new shell 
environment) and doesn't source the environment first.

As such, `MW_INSTALL_PATH` isn't set wrong, but not set at all.

Run `mw-set-env.sh` before the phpunit test, then it should work fine. You may 
also want to use that variable in the `cd` command so that `$WORKSPACE/src` 
isn't hardcoded (which is subject to change).


TASK DETAIL
  https://phabricator.wikimedia.org/T103626

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: JanZerebecki, Krinkle
Cc: Krinkle, Aklapper, hoo, Wikidata-bugs, aude, hashar, Malyacko, P.Copp



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to