-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
junit.xml is not generated #218
Comments
different log verbosity root@host50:/var/home/user/wp-tests/phpunit-test-runner# php report.php
Environment variables pass checks.
Getting SVN Revision
Getting SVN message
Copying junit.xml results
rsync -rv '/var/home/user/wp-tests/wp-env'/tests/phpunit/build/logs/* '/var/home/user/wp-tests/wp-env'
sending incremental file list
env.json
sent 1,964 bytes received 35 bytes 3,998.00 bytes/sec
total size is 1,872 speedup is 0.94
Processing and uploading junit.xml
Warning: file_get_contents(/var/home/user/wp-tests/wp-env/junit.xml): Failed to open stream: No such file or directory in /var/home/user/wp-tests/phpunit-test-runner/report.php on line 124
Error: Error uploading results: Invalid parameter(s): results (HTTP status 400) |
Same issue affecting us as well. Tested in few different environments with the actual test passing without errors. |
I just tried this on my local computer and experience the same results. When I look at the location that the readme indicates should hold the
Looking closer at the https://github.com/wordpress/phpunit-test-runner/blob/master/test.php#L74 As a test, I changed the https://github.com/wordpress/phpunit-test-runner/blob/master/.env.default#L71
I can't tinker on this more at the moment, but my gut says the way that the |
this should fix it: |
The junit.xml file is not generated and thus I cannot report the results back to wp.org
The text was updated successfully, but these errors were encountered: