Tests: Pass API key to distributed test reporter.
Pass environment variable for test reporter API key to `docker-compose` so that it can authenticate and submit results to the hosting distributed tests. Props SergeyBiryukov, mikeschroder. Fixes #49846. git-svn-id: https://develop.svn.wordpress.org/trunk@47556 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
adda585fb8
commit
3df79c3380
@ -135,7 +135,7 @@ after_script:
|
|||||||
- |
|
- |
|
||||||
if [[ "$WP_TEST_REPORTER" == "true" ]]; then
|
if [[ "$WP_TEST_REPORTER" == "true" ]]; then
|
||||||
git clone https://github.com/WordPress/phpunit-test-runner.git test-runner
|
git clone https://github.com/WordPress/phpunit-test-runner.git test-runner
|
||||||
docker-compose run --rm -e WPT_PREPARE_DIR=/var/www -e WPT_TEST_DIR=/var/www php php test-runner/report.php
|
docker-compose run --rm -e WPT_REPORT_API_KEY -e WPT_PREPARE_DIR=/var/www -e WPT_TEST_DIR=/var/www php php test-runner/report.php
|
||||||
fi
|
fi
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
|
Loading…
Reference in New Issue
Block a user