Only upload test results on success

This can be switched back because the tests are now running.